draperlaboratory / fracture

an architecture-independent decompiler to LLVM IR
Other
385 stars 47 forks source link

How does one pure assembly instruction transform to llvm-ir? #60

Closed chlizheng closed 6 years ago

chlizheng commented 6 years ago

Hi. Now I want to transform pure stm8 assembly instructions to llvm-ir. Is that feasible? And Can I just learn the instruction reference section of llvm-ir to do this job? best regards.

pgoodman commented 6 years ago

@chlizheng you should check out Remill. It doesn't support the STM8 architecture, though you could add it. Then you can use remill-lift to see what the LLVM IR associated with instructions looks like.