Gallopsled / Gallopsled/pwntools
amd64 considered native architecture on i386
Open
backport-required
bug
- Dominant language
- Python
- Stars
- 13.7k
- Forks
- 1.9k
- Avg merge
- 6d 23h
- Merged PRs (30d)
- 3
Description
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
Contributor guide
Research direction
Start in pwnlib/context/__init__.py at lines 687-699 and reproduce how amd64 is classified when the host is i386. Review closed pull requests #2510 and #2558 for prior approaches, then ensure the native-architecture result matches the intended host and application relationship.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100