[pypy-issue] [issue758] Shadowstack root finder broken on Mac OS X
Armin Rigo
tracker at bugs.pypy.org
Tue Jun 21 18:26:40 CEST 2011
Armin Rigo <armin.rigo at gmail.com> added the comment:
The attached block is from maybe_compile_and_run(), i.e. where the
AssertionError was caught, not from where it was raised. This seems to be
Assembler386._call_footer(), but as there is no assert there, I expect it to be
from some function that was inlined in it. I strongly suspect it's the assert
in Assembler386._call_footer_shadowstack(). (Are you building a 64-bit version?
If not, then I'm wrong.)
To check if this is the error, you can try to add anywhere in the C sources (for
example in pypy/translator/c/src/main.h, pypy_main_function):
void* p = &pypy_g_pypy_rpython_memory_gctypelayout_GCData.gcd_inst_root_stack_top;
assert((void*)(int)p == p);
If this assert fails, then I know what's wrong. :-)
----------
nosy: +arigo
status: unread -> chatting
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue758>
________________________________________
More information about the pypy-issue
mailing list