iii added a comment. That's where the mappings normally end. Example:
$ cat /proc/self/maps 2aa00000000-2aa00002000 r--p 00000000 5e:01 668061 /usr/bin/cat 2aa00002000-2aa00006000 r-xp 00002000 5e:01 668061 /usr/bin/cat 2aa00006000-2aa00008000 r--p 00006000 5e:01 668061 /usr/bin/cat 2aa00008000-2aa00009000 r--p 00007000 5e:01 668061 /usr/bin/cat 2aa00009000-2aa0000a000 rw-p 00008000 5e:01 668061 /usr/bin/cat 2aa0000a000-2aa0002b000 rw-p 00000000 00:00 0 [heap] 3fff7500000-3fff7557000 r--p 00000000 5e:01 926342 /usr/lib/locale/C.utf8/LC_CTYPE 3fff7580000-3fff7581000 r--p 00000000 5e:01 658596 /usr/lib/locale/en_US.utf8/LC_NUMERIC 3fff7600000-3fff7878000 r--p 00000000 5e:01 658592 /usr/lib/locale/en_US.utf8/LC_COLLATE 3fff7880000-3fff7881000 r--p 00000000 5e:01 786499 /usr/lib/locale/en_US.utf8/LC_TIME 3fff7900000-3fff7901000 r--p 00000000 5e:01 786497 /usr/lib/locale/en_US.utf8/LC_MONETARY 3fff7980000-3fff7981000 r--p 00000000 5e:01 658594 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 3fff7a00000-3fff7a01000 r--p 00000000 5e:01 658611 /usr/lib/locale/en_US.utf8/LC_PAPER 3fff7a80000-3fff7a81000 r--p 00000000 5e:01 658595 /usr/lib/locale/en_US.utf8/LC_NAME 3fff7b00000-3fff7b01000 r--p 00000000 5e:01 786493 /usr/lib/locale/en_US.utf8/LC_ADDRESS 3fff7b80000-3fff7b81000 r--p 00000000 5e:01 786498 /usr/lib/locale/en_US.utf8/LC_TELEPHONE 3fff7c00000-3fff7c34000 r--p 00000000 5e:01 655337 /usr/lib64/libc.so.6 3fff7c34000-3fff7d6e000 r-xp 00034000 5e:01 655337 /usr/lib64/libc.so.6 3fff7d6e000-3fff7dc5000 r--p 0016e000 5e:01 655337 /usr/lib64/libc.so.6 3fff7dc5000-3fff7dc6000 ---p 001c5000 5e:01 655337 /usr/lib64/libc.so.6 3fff7dc6000-3fff7dca000 r--p 001c5000 5e:01 655337 /usr/lib64/libc.so.6 3fff7dca000-3fff7dcc000 rw-p 001c9000 5e:01 655337 /usr/lib64/libc.so.6 3fff7dcc000-3fff7dd4000 rw-p 00000000 00:00 0 3fff7e00000-3fff7e01000 r--p 00000000 5e:01 786496 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT 3fff7e80000-3fff7e87000 r--s 00000000 5e:01 654146 /usr/lib64/gconv/gconv-modules.cache 3fff7f00000-3fff7f01000 r--p 00000000 5e:01 786495 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION 3fff7f80000-3fff7f82000 r--p 00000000 5e:01 655334 /usr/lib/ld64.so.1 3fff7f82000-3fff7fa2000 r-xp 00002000 5e:01 655334 /usr/lib/ld64.so.1 3fff7fa2000-3fff7fad000 r--p 00022000 5e:01 655334 /usr/lib/ld64.so.1 3fff7fad000-3fff7faf000 r--p 0002c000 5e:01 655334 /usr/lib/ld64.so.1 3fff7faf000-3fff7fb1000 rw-p 0002e000 5e:01 655334 /usr/lib/ld64.so.1 3fff7fd3000-3fff7ffb000 rw-p 00000000 00:00 0 3fffffda000-3ffffffb000 rw-p 00000000 00:00 0 [stack] 3ffffffc000-3ffffffe000 r--p 00000000 00:00 0 [vvar] 3ffffffe000-40000000000 r-xp 00000000 00:00 0 [vdso] A higher address should work as well. I will test 0x50000000000ULL and 0x60000000000ULL and let you know the result. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D78644/new/ https://reviews.llvm.org/D78644 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits