You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when using context.binary it changes the context.bit from 4 to 8 in case the binary is 64 bit
but the context.cyclic_size doesn't change from 4 to 8 as will
in my opinion this is a bug
In [1]: from pwn import *
In [2]: context.cyclic_size
Out[2]: 4
In [3]: context.bits
Out[3]: 32
In [4]: context.binary = ELF('./task_patched', checksec=False)
In [5]: context.cyclic_size
Out[5]: 4
In [6]: context.bits
Out[6]: 64
Adding the code here should help self.cyclic_size = binary.bytes
The text was updated successfully, but these errors were encountered:
when using context.binary it changes the context.bit from 4 to 8 in case the binary is 64 bit
but the context.cyclic_size doesn't change from 4 to 8 as will
in my opinion this is a bug
Adding the code here should help
self.cyclic_size = binary.bytes
The text was updated successfully, but these errors were encountered: