4 ms·
I figured it out, it's because Debian enables PIE and that somehow causes GCC not to be able to satisfy its own rules for allowing inline-assembly to modify %rs
by infinity0 8y ago
I figured it out, it's because Debian enables PIE and that somehow causes GCC not to be able to satisfy its own rules for allowing inline-assembly to modify %rsp to the value required by this program.
- rgovostes 8y agoYou ought to update your pull request, then! I'm not sure why they don't accept regular issues.
- sabas123 8y agoBecause this github release was only for talk and he has since moved on (albeit is still using it for other projects) The sifter isn't terrible intresting it self but could use a lot of chances. Like the ability to use multiple disassemblers. God that was such a pain to hack that one together.
- vectorEQ 8y agofor these kind of low level things, it's best to turn off all compiler optimizations and os specific features. if you run gcc -V or something hten it will dump it's default flags for the distro you are on. What i ususally do is create a cross compiler with nothing enabled for these kinds of projects. This saves a lot of sifting and disabling options and optimizations. If you have a bunch of inline assembly and such things, optimizations can be really killing.