diff options
author | dusoleil <howcansocksbereal@gmail.com> | 2021-09-02 00:03:59 -0400 |
---|---|---|
committer | dusoleil <howcansocksbereal@gmail.com> | 2021-09-02 00:03:59 -0400 |
commit | 4cece8dbed674ab6d361cdb7a440981c90ed4de5 (patch) | |
tree | 5f9862c904faeed754827b203ab0ab07bd50ea91 /__init__.py | |
parent | 72646d6f197910c2a8c424fc2e769d03d0b5a332 (diff) | |
download | sploit-4cece8dbed674ab6d361cdb7a440981c90ed4de5.tar.gz sploit-4cece8dbed674ab6d361cdb7a440981c90ed4de5.zip |
Add arch config module
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>
Diffstat (limited to '__init__.py')
0 files changed, 0 insertions, 0 deletions