Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Michael S Newsgroups: comp.lang.c Subject: Re: C23 thoughts and opinions Date: Sun, 2 Jun 2024 01:11:35 +0300 Organization: A noiseless patient Spider Lines: 24 Message-ID: <20240602011135.00004810@yahoo.com> References: <20240530170836.00005fa0@yahoo.com> <20240530180345.00003d9f@yahoo.com> <20240531161937.000063af@yahoo.com> <20240531162811.00006719@yahoo.com> <20240531164835.00007128@yahoo.com> <20240531173437.00003bee@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Sun, 02 Jun 2024 00:11:41 +0200 (CEST) Injection-Info: dont-email.me; posting-host="31ada79dcb12d10f8f772111d363c408"; logging-data="3046401"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Bq9LzFht4oeTqnKEWh1Oj7RDEBSaMkcM=" Cancel-Lock: sha1:MKSGRc0vmOvdYvShG6uiILcwnPw= X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32) Bytes: 2138 On Fri, 31 May 2024 22:15:54 +0100 bart wrote: > If I run this: > > printf("%p\n", &_binary_hello_c_start); > printf("%p\n", &_binary_hello_c_end); > printf("%p\n", &_binary_hello_c_size); > > I get: > > 00007ff6ef252010 > 00007ff6ef252056 > 00007ff5af240046 > > I can see that the first two can be subtracted to give the sizes of > the data, which is 70 or 0x46. 0x46 is the last byte of the address > of _size, so what's happening there? What's with the crap in bits > 16-47? > It looks like ASLR. I don't see it because I test on Win7.