Skip to content

A script for obtaining the inverse of simple assembly sequences.

License

Notifications You must be signed in to change notification settings

apetenchea/inverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inverter

A script for obtaining the inverse of simple, linear assembly sequences (containing no loops).

Python version: 3.4.2

Usage

py inverter.py input.asm

Example

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
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.

About

A script for obtaining the inverse of simple assembly sequences.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages