lunixbochs / patchkit

binary patching from Python
Other
631 stars 85 forks source link

The compiler in X86_64 #6

Closed zh-explorer closed 8 years ago

zh-explorer commented 8 years ago

I think it should not have -m32 flag at cflag when I patch a 64bit binary

lunixbochs commented 8 years ago

You're right. That was hardcoded because CGC/DECREE was 32-bit but all of my machines are 64-bit. I removed in favor of a --cflags CLI argument.

As an aside, the linker's built-in symbols are all for CGC right now, see #7