yegord / snowman

Snowman decompiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Several x86 instructions not understood by Snowman

madscientist159 opened this issue · comments

The following floating point instructions (and many others) are translated to inline assembly. What would be needed to add them to snowman? It almost looks like Snowman doesn't understand the x86 FPU.

fld
fcomp
fd
fstp
fsub
fmul
fxch

One needs to describe their semantics in X86InstructionAnalyzer, add floating-point constants and operations to IR (nc::ir::UnaryOperator, nc::ir::BinaryOperator), nc::ir::types::TypeAnalyzer and likec.