Opcodes 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +2 -0
- data/lib/Opcodes.rb +2 -2
- metadata +27 -12
data/ChangeLog
CHANGED
data/lib/Opcodes.rb
CHANGED
|
@@ -24,10 +24,10 @@ VMA for an instruction.
|
|
|
24
24
|
Disassemble all bytes in a buffer. This is simply a wrapper for ext_disasm
|
|
25
25
|
that provides a default value for <i>args</i>.
|
|
26
26
|
See ext_disasm.
|
|
27
|
-
Note: the
|
|
27
|
+
Note: the architecture of the target must be specified by the user if the
|
|
28
28
|
target is not a BFD::Target. Failure to specify an architecture will
|
|
29
29
|
result in instruction token arrays containing only the VMA of the
|
|
30
|
-
instruction. See
|
|
30
|
+
instruction. See Disassembler#new for more info.
|
|
31
31
|
=end
|
|
32
32
|
def disasm( target, args={} )
|
|
33
33
|
# Wrapper provides a default option
|
metadata
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: Opcodes
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
4
|
+
hash: 25
|
|
5
|
+
prerelease:
|
|
6
|
+
segments:
|
|
7
|
+
- 1
|
|
8
|
+
- 3
|
|
9
|
+
- 1
|
|
10
|
+
version: 1.3.1
|
|
5
11
|
platform: ruby
|
|
6
12
|
authors:
|
|
7
13
|
- TG Community
|
|
@@ -9,8 +15,7 @@ autorequire:
|
|
|
9
15
|
bindir: bin
|
|
10
16
|
cert_chain: []
|
|
11
17
|
|
|
12
|
-
date:
|
|
13
|
-
default_executable:
|
|
18
|
+
date: 2013-03-03 00:00:00 Z
|
|
14
19
|
dependencies: []
|
|
15
20
|
|
|
16
21
|
description: |-
|
|
@@ -25,23 +30,25 @@ extensions:
|
|
|
25
30
|
extra_rdoc_files:
|
|
26
31
|
- module/rdoc_input/Opcodes.rb
|
|
27
32
|
files:
|
|
28
|
-
- module/Arch.c
|
|
29
33
|
- module/Opcodes.c
|
|
34
|
+
- module/Arch.c
|
|
30
35
|
- module/ruby_compat.c
|
|
31
36
|
- module/ruby_compat.h
|
|
32
|
-
- module/Arch.h
|
|
33
37
|
- module/Opcodes.h
|
|
38
|
+
- module/Arch.h
|
|
34
39
|
- lib/Opcodes.rb
|
|
35
|
-
- examples/bfd_symbol.rb
|
|
36
|
-
- examples/x86_bytestring.rb
|
|
37
40
|
- examples/bfd_section.rb
|
|
41
|
+
- examples/x86_bytestring.rb
|
|
38
42
|
- examples/list_architectures.rb
|
|
43
|
+
- examples/bfd_symbol.rb
|
|
39
44
|
- README
|
|
40
45
|
- ChangeLog
|
|
41
46
|
- LICENSE
|
|
42
47
|
- LICENSE.README
|
|
48
|
+
- tests/ut_opcodes.rb
|
|
49
|
+
- tests/ut_opcodes_bfd.rb
|
|
43
50
|
- module/rdoc_input/Opcodes.rb
|
|
44
|
-
|
|
51
|
+
- module/extconf.rb
|
|
45
52
|
homepage: http://rubyforge.org/projects/opdis/
|
|
46
53
|
licenses:
|
|
47
54
|
- GPLv3
|
|
@@ -51,24 +58,32 @@ rdoc_options: []
|
|
|
51
58
|
require_paths:
|
|
52
59
|
- lib
|
|
53
60
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
61
|
+
none: false
|
|
54
62
|
requirements:
|
|
55
63
|
- - ">="
|
|
56
64
|
- !ruby/object:Gem::Version
|
|
65
|
+
hash: 57
|
|
66
|
+
segments:
|
|
67
|
+
- 1
|
|
68
|
+
- 8
|
|
69
|
+
- 7
|
|
57
70
|
version: 1.8.7
|
|
58
|
-
version:
|
|
59
71
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
|
+
none: false
|
|
60
73
|
requirements:
|
|
61
74
|
- - ">="
|
|
62
75
|
- !ruby/object:Gem::Version
|
|
76
|
+
hash: 3
|
|
77
|
+
segments:
|
|
78
|
+
- 0
|
|
63
79
|
version: "0"
|
|
64
|
-
version:
|
|
65
80
|
requirements:
|
|
66
81
|
- GNU binutils library and headers
|
|
67
82
|
rubyforge_project: opdis
|
|
68
|
-
rubygems_version: 1.
|
|
83
|
+
rubygems_version: 1.8.11
|
|
69
84
|
signing_key:
|
|
70
85
|
specification_version: 3
|
|
71
86
|
summary: Ruby extension library providing an API to GNU libopcodes
|
|
72
87
|
test_files:
|
|
73
|
-
- tests/ut_opcodes_bfd.rb
|
|
74
88
|
- tests/ut_opcodes.rb
|
|
89
|
+
- tests/ut_opcodes_bfd.rb
|