Deutsch English Français Italiano |
<20240323090700.848@kylheku.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feeds.phibee-telecom.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Kaz Kylheku <433-929-6894@kylheku.com> Newsgroups: comp.lang.c Subject: Re: A Famous Security Bug Date: Sat, 23 Mar 2024 16:07:47 -0000 (UTC) Organization: A noiseless patient Spider Lines: 27 Message-ID: <20240323090700.848@kylheku.com> References: <bug-20240320191736@ram.dialup.fu-berlin.de> <20240320114218.151@kylheku.com> <uthirj$29aoc$1@dont-email.me> <20240321092738.111@kylheku.com> <87a5mr1ffp.fsf@nosuchdomain.example.com> <20240322083648.539@kylheku.com> <87le6az0s8.fsf@nosuchdomain.example.com> <20240322094449.555@kylheku.com> <87cyrmyvnv.fsf@nosuchdomain.example.com> <20240322123323.805@kylheku.com> <utmst2$3n7mv$2@dont-email.me> Injection-Date: Sat, 23 Mar 2024 16:07:47 -0000 (UTC) Injection-Info: dont-email.me; posting-host="bc8ead67574eda43cc8acb80cc4a36a2"; logging-data="3926330"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qHBKiggu79cR5pCRL9cEJO/E7j1gBP30=" User-Agent: slrn/pre1.0.4-9 (Linux) Cancel-Lock: sha1:ePTVwSMEiByOICDJqhMbW0GiZ5g= Bytes: 2414 On 2024-03-23, David Brown <david.brown@hesbynett.no> wrote: > On 22/03/2024 20:43, Kaz Kylheku wrote: >> On 2024-03-22, Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote: >>> Is the "call" instruction *observable behavior* as defined in 5.1.2.3? >> > > >>> Running a program under a test harness is effectively running a >>> different program. Of course it can yield information about the >>> original program, but in effect you're linking the program with a >>> different set of libraries. >> >> It's a different program, but the retained translation unit must be the >> same, except that the external references it makes are resolved to >> different entities. > > That is true - /if/ you make the restriction that the translation unit > is complied completely to linkable machine code or assembly, and that it > is not changed in any way when it is combined into the new program. > Such a setup is common in practice, but it is in no way required by the > C standards and does not apply for more advanced compilation and build > scenarios. Well, it's only not required if you hand-wave away the sentences in section 5. You can't just do that!