Skip to content

DoranekoSystems/img2asm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

img2asm

Generate assembly code from image.
Inspired by REpsych.

Usage

Install python library.

pip install toml
pip install opencv-python

Generate assembly code.

python img2asm.py cat.png

Then Native.asm is generated.

  1. The Native.asm file can be built by incorporating it into a Visual Studio, x64 project.
  2. Project RightClick->Build Dependencies->Build Customizations->masm
  3. Project RightClick->Properties->Linker->System->Enable Large Addresses->No (/LARGEADDRESSAWARE:NO)
  4. Native.asm RightClick->Properties->Item Type->Microsoft Macro Assembler
  5. Build
    Have fun!!

img

The graph view in ida is shown above.

Releases

No releases published

Packages

 
 
 

Languages