summaryrefslogtreecommitdiffstats
path: root/sploit/arch.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-09-02Add arch config moduledusoleil1-0/+28
Add Arch class which specifies wordsize, endianness, alignment, and a nop code for an architecture. Add a couple predefined architectures for x86 and x86_64 Add a "configured" architecture which is set to x86_64 by default. Added btoi and itob functions which will convert to and from bytes and ints based on the current architecture config Signed-off-by: dusoleil <howcansocksbereal@gmail.com>