lib/metasm/x86_64/main.rb in metasm-1.0.0 vs lib/metasm/x86_64/main.rb in metasm-1.0.1
- old
+ new
@@ -92,9 +92,13 @@
class CtrlReg < Ia32::CtrlReg
simple_map((0..15).map { |i| [i, "cr#{i}"] })
end
+ class TstReg < Ia32::TstReg
+ simple_map((0..15).map { |i| [i, "tr#{i}"] })
+ end
+
# Create a new instance of an X86 cpu
# arguments (any order)
# - instruction set (386, 486, sse2...) [latest]
# - endianness [:little]
def initialize(*a)