metasm 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/Gemfile +1 -0
- data/doc/code_organisation.txt +1 -1
- data/metasm.gemspec +1 -1
- data/metasm.rb +2 -1
- data/metasm/cpu/arc/decode.rb +3 -3
- data/metasm/cpu/arm/decode.rb +2 -2
- data/metasm/cpu/ia32/compile_c.rb +18 -2
- data/metasm/cpu/ia32/decode.rb +9 -4
- data/metasm/cpu/ia32/decompile.rb +22 -8
- data/metasm/cpu/ia32/opcodes.rb +5 -5
- data/metasm/cpu/mcs51.rb +8 -0
- data/metasm/cpu/mcs51/decode.rb +99 -0
- data/metasm/cpu/mcs51/main.rb +76 -0
- data/metasm/cpu/mcs51/opcodes.rb +120 -0
- data/metasm/cpu/mips/decode.rb +5 -4
- data/metasm/cpu/st20.rb +9 -0
- data/metasm/cpu/st20/decode.rb +180 -0
- data/metasm/cpu/st20/decompile.rb +283 -0
- data/metasm/cpu/st20/main.rb +37 -0
- data/metasm/cpu/st20/opcodes.rb +140 -0
- data/metasm/cpu/x86_64/encode.rb +4 -2
- data/metasm/cpu/x86_64/opcodes.rb +4 -2
- data/metasm/decode.rb +16 -15
- data/metasm/decompile.rb +1 -1
- data/metasm/disassemble.rb +3 -1
- data/metasm/disassemble_api.rb +3 -1
- data/metasm/dynldr.rb +9 -3
- data/metasm/encode.rb +2 -2
- data/metasm/exe_format/coff.rb +3 -1
- data/metasm/exe_format/coff_decode.rb +5 -3
- data/metasm/exe_format/elf.rb +4 -0
- data/metasm/exe_format/elf_decode.rb +1 -2
- data/metasm/exe_format/elf_encode.rb +4 -1
- data/metasm/exe_format/macho.rb +20 -6
- data/metasm/exe_format/pe.rb +1 -1
- data/metasm/exe_format/serialstruct.rb +1 -1
- data/metasm/gui.rb +1 -1
- data/metasm/gui/dasm_hex.rb +2 -2
- data/metasm/gui/dasm_main.rb +8 -8
- data/metasm/gui/debug.rb +4 -4
- data/metasm/gui/gtk.rb +1 -1
- data/metasm/gui/qt.rb +2 -2
- data/metasm/gui/win32.rb +1 -1
- data/metasm/main.rb +11 -6
- data/metasm/os/windows.rb +26 -23
- data/misc/hexdump.rb +2 -2
- data/misc/objdiff.rb +4 -1
- data/misc/objscan.rb +1 -1
- data/samples/dasm-plugins/bindiff.rb +1 -1
- data/samples/dasm-plugins/scanxrefs.rb +2 -1
- data/samples/dynamic_ruby.rb +24 -25
- data/samples/elfencode.rb +15 -0
- data/samples/exeencode.rb +2 -2
- data/samples/metasm-shell.rb +67 -55
- data/tests/mcs51.rb +27 -0
- metadata +13 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metasm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoann Guillot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -121,6 +121,10 @@ files:
|
|
121
121
|
- metasm/cpu/ia32/opcodes.rb
|
122
122
|
- metasm/cpu/ia32/parse.rb
|
123
123
|
- metasm/cpu/ia32/render.rb
|
124
|
+
- metasm/cpu/mcs51.rb
|
125
|
+
- metasm/cpu/mcs51/decode.rb
|
126
|
+
- metasm/cpu/mcs51/main.rb
|
127
|
+
- metasm/cpu/mcs51/opcodes.rb
|
124
128
|
- metasm/cpu/mips.rb
|
125
129
|
- metasm/cpu/mips/compile_c.rb
|
126
130
|
- metasm/cpu/mips/debug.rb
|
@@ -152,6 +156,11 @@ files:
|
|
152
156
|
- metasm/cpu/sh4/decode.rb
|
153
157
|
- metasm/cpu/sh4/main.rb
|
154
158
|
- metasm/cpu/sh4/opcodes.rb
|
159
|
+
- metasm/cpu/st20.rb
|
160
|
+
- metasm/cpu/st20/decode.rb
|
161
|
+
- metasm/cpu/st20/decompile.rb
|
162
|
+
- metasm/cpu/st20/main.rb
|
163
|
+
- metasm/cpu/st20/opcodes.rb
|
155
164
|
- metasm/cpu/x86_64.rb
|
156
165
|
- metasm/cpu/x86_64/compile_c.rb
|
157
166
|
- metasm/cpu/x86_64/debug.rb
|
@@ -324,6 +333,7 @@ files:
|
|
324
333
|
- tests/expression.rb
|
325
334
|
- tests/graph_layout.rb
|
326
335
|
- tests/ia32.rb
|
336
|
+
- tests/mcs51.rb
|
327
337
|
- tests/mips.rb
|
328
338
|
- tests/parse_c.rb
|
329
339
|
- tests/preprocessor.rb
|
@@ -361,6 +371,7 @@ test_files:
|
|
361
371
|
- tests/expression.rb
|
362
372
|
- tests/graph_layout.rb
|
363
373
|
- tests/ia32.rb
|
374
|
+
- tests/mcs51.rb
|
364
375
|
- tests/mips.rb
|
365
376
|
- tests/parse_c.rb
|
366
377
|
- tests/preprocessor.rb
|