Granary / granary2

Dynamic binary translation framework for instrumenting x86-64 user space Linux programs
MIT License
39 stars 5 forks source link

Update `lir::InlineAssembly` constructor to be able to materialize `Operand` structures given non-operand values (e.g. pointers, integers, etc.). #106

Open pgoodman opened 9 years ago

pgoodman commented 9 years ago

This would reduce lines of code in clients, where many Operand objects are constructed for the sake of passing them into inline assembly.

pgoodman commented 9 years ago

There should also be an implicit conversion between immediate and ptr-based memory operands.