Gallopsled / pwntools

CTF framework and exploit development library
http://pwntools.com
Other
12.16k stars 1.72k forks source link

amd64 considered native architecture on i386 #2383

Open peace-maker opened 7 months ago

peace-maker commented 7 months ago

It seems counter-intuitive for 64bit applications to be considered native to a 32bit host. Is this a bug?

https://github.com/Gallopsled/pwntools/blob/f046fdd93e154bd892332f38cfbb518de130f1f2/pwnlib/context/__init__.py#L687-L699

Arusekk commented 5 months ago

OTOH, armv7el apps can be considered native on most aarch64 oses.