Closed valpackett closed 5 years ago
For some reason function pointers are something like 0x103106f, not in the executable region..
0x103106f
0x1021000 0x104e000 45 854 0xfffff802d5b22a00 r-- 3 1 0x1000 COW NC vnode …/target/debug/deps/region-d4b611cfd5dce967 NCH -1 0x104e000 0x10be000 112 854 0xfffff802d5b22a00 r-x 3 1 0x1000 COW NC vnode …/target/debug/deps/region-d4b611cfd5dce967 NCH -1
Thanks a ton for the PR!
Intriguing, Windows exhibits the same behavior so the test is limited to Unix.
For some reason function pointers are something like
0x103106f
, not in the executable region..