https://github.com/apetenchea/inverter
A script for obtaining the inverse of simple assembly sequences.
https://github.com/apetenchea/inverter
assembly python3 reversing
Last synced: 3 months ago
JSON representation
A script for obtaining the inverse of simple assembly sequences.
- Host: GitHub
- URL: https://github.com/apetenchea/inverter
- Owner: apetenchea
- License: mit
- Created: 2017-04-29T18:19:14.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-30T22:51:59.000Z (about 8 years ago)
- Last Synced: 2025-01-20T00:48:26.248Z (5 months ago)
- Topics: assembly, python3, reversing
- Language: Python
- Size: 4.88 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# inverter
A script for obtaining the inverse of simple, linear assembly sequences (containing no loops).Python version: 3.4.2
*Usage*
```Bash
py inverter.py input.asm
```*Example*
```Assembly
xor eax, 0x123
sub eax, 0xad
xchg ax, bx
inc eax
xchg al, bl
dec ebx
rol eax, 0x2
ror ebx, 0x3
add ebx, 0xff
```
| |
| |
\ /
V```Assembly
sub ebx, 0xff
rol ebx, 0x3
ror eax, 0x2
inc ebx
xchg al, bl
dec eax
xchg ax, bx
add eax, 0xad
xor eax, 0x123
```*Coding standard*
[Google Python Style Guide](https://google.github.io/styleguide/pyguide.html).