Gallopsled / pwntools

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

amd64 considered native architecture on i386 #2383

Open peace-maker opened 3 months ago

peace-maker commented 3 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 2 weeks ago

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