Deutsch English Français Italiano |
<20240606144325.000069e2@yahoo.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Michael S <already5chosen@yahoo.com> Newsgroups: comp.lang.c Subject: Re: C23 thoughts and opinions Date: Thu, 6 Jun 2024 14:43:25 +0300 Organization: A noiseless patient Spider Lines: 34 Message-ID: <20240606144325.000069e2@yahoo.com> References: <v2l828$18v7f$1@dont-email.me> <v3758s$14hfp$1@raubtier-asyl.eternal-september.org> <v38of2$1gsj2$1@dont-email.me> <v39v87$1n7bk$1@dont-email.me> <20240530170836.00005fa0@yahoo.com> <v3a3k5$1ntrn$1@dont-email.me> <20240530180345.00003d9f@yahoo.com> <v3chc4$27uij$1@dont-email.me> <20240531161937.000063af@yahoo.com> <20240531162811.00006719@yahoo.com> <20240531164835.00007128@yahoo.com> <v3cldt$28n91$2@dont-email.me> <20240531173437.00003bee@yahoo.com> <v3d3ct$2b5sl$1@dont-email.me> <yMo6O.3723$zfC8.2197@fx35.iad> <v3dem9$2d2v4$1@dont-email.me> <20240602011135.00004810@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Thu, 06 Jun 2024 13:43:12 +0200 (CEST) Injection-Info: dont-email.me; posting-host="e60a8e6a76916644fa1bcd4273b02481"; logging-data="1497433"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18W+rOnG77pu4B6fCcV7R20N71sg7v1u6c=" Cancel-Lock: sha1:Tzc6Oc7nb6fEbK94pHMZg8cuFls= X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32) Bytes: 2544 On Sun, 2 Jun 2024 01:11:35 +0300 Michael S <already5chosen@yahoo.com> wrote: > On Fri, 31 May 2024 22:15:54 +0100 > bart <bc@freeuk.com> 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. > > I tried it on versions of Windows that have ASLR. Had seen no problems. I see *_start and *_end at high addresses and sometimes changing between invocations, which means that ASLR is certainly in effect, but *_size always prints correct result.