Opdis 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.
Files changed (5) hide show
  1. data/ChangeLog +2 -0
  2. data/module/Arch.c +1 -1
  3. data/module/Model.c +1 -1
  4. data/module/Opdis.c +1 -1
  5. metadata +20 -22
data/ChangeLog CHANGED
@@ -1,2 +1,4 @@
1
+ 2013-03-03 : mkfs <mkfs@thoughtgang.org>
2
+ * Fixed compiler warnings
1
3
  2010-08-16 : mkfs <mkfs@thoughtgang.org>
2
4
  * Added license to gemspec.
data/module/Arch.c CHANGED
@@ -27,7 +27,7 @@ static const Opdis_disasm_def disasm_definitions[] = {
27
27
  print_insn_alpha},
28
28
  #endif
29
29
  #ifdef ARCH_ARM
30
- {"big_arm", bfd_arch_arm, bfd_mach_arm_umknown,
30
+ {"big_arm", bfd_arch_arm, bfd_mach_arm_unknown,
31
31
  print_insn_big_arm},
32
32
  {"little_arm", bfd_arch_arm, bfd_mach_arm_unknown,
33
33
  print_insn_little_arm},
data/module/Model.c CHANGED
@@ -923,7 +923,7 @@ static void set_insn_status( VALUE instance, enum opdis_insn_decode_t val ) {
923
923
  }
924
924
 
925
925
  static void fill_ruby_insn( const opdis_insn_t * insn, VALUE dest ) {
926
- int i;
926
+ unsigned int i;
927
927
  char buf[128];
928
928
  VALUE ops = rb_iv_get(dest, IVAR(INSN_ATTR_OPERANDS) );
929
929
 
data/module/Opdis.c CHANGED
@@ -498,7 +498,7 @@ static opdis_buf_t opdis_buf_for_target( VALUE tgt, VALUE hash ) {
498
498
 
499
499
  /* Array object containing bytes */
500
500
  } else if ( Qtrue == rb_obj_is_kind_of( tgt, rb_cArray ) ) {
501
- int i;
501
+ unsigned int i;
502
502
  unsigned char * sbuf;
503
503
  buf_len = RARRAY_LEN(tgt);
504
504
  sbuf = alloca(buf_len);
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Opdis
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 0
10
- version: 1.3.0
9
+ - 1
10
+ version: 1.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - TG Community
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-02 00:00:00 -05:00
19
- default_executable:
18
+ date: 2013-03-03 00:00:00 Z
20
19
  dependencies: []
21
20
 
22
21
  description: |-
@@ -30,44 +29,43 @@ executables: []
30
29
  extensions:
31
30
  - module/extconf.rb
32
31
  extra_rdoc_files:
33
- - module/rdoc_input/Callbacks.rb
34
32
  - module/rdoc_input/Opdis.rb
33
+ - module/rdoc_input/Callbacks.rb
35
34
  - module/rdoc_input/Model.rb
36
35
  files:
36
+ - module/Opdis.c
37
37
  - module/Model.c
38
38
  - module/Arch.c
39
- - module/Callbacks.c
40
39
  - module/ruby_compat.c
41
- - module/Opdis.c
40
+ - module/Callbacks.c
42
41
  - module/Opdis.h
43
- - module/ruby_compat.h
44
42
  - module/Callbacks.h
45
- - module/Arch.h
43
+ - module/ruby_compat.h
46
44
  - module/Model.h
45
+ - module/Arch.h
47
46
  - lib/Opdis.rb
48
- - examples/bfd_entry.rb
49
- - examples/visited_handler.rb
50
- - examples/bfd_symbol.rb
51
- - examples/buf_linear.rb
52
- - examples/array_linear.rb
53
47
  - examples/bfd_section.rb
54
- - examples/libopcodes_options.rb
55
- - examples/decoder.rb
48
+ - examples/array_linear.rb
56
49
  - examples/file_linear.rb
50
+ - examples/buf_linear.rb
51
+ - examples/bfd_entry.rb
52
+ - examples/decoder.rb
57
53
  - examples/x86_decoder.rb
54
+ - examples/bfd_symbol.rb
58
55
  - examples/resolver.rb
59
56
  - examples/supported_architectures.rb
57
+ - examples/visited_handler.rb
58
+ - examples/libopcodes_options.rb
60
59
  - README
61
60
  - ChangeLog
62
61
  - LICENSE
63
62
  - LICENSE.README
64
- - tests/ut_opdis_bfd.rb
65
63
  - tests/ut_opdis.rb
66
- - module/rdoc_input/Callbacks.rb
64
+ - tests/ut_opdis_bfd.rb
67
65
  - module/rdoc_input/Opdis.rb
66
+ - module/rdoc_input/Callbacks.rb
68
67
  - module/rdoc_input/Model.rb
69
68
  - module/extconf.rb
70
- has_rdoc: true
71
69
  homepage: http://rubyforge.org/projects/opdis/
72
70
  licenses:
73
71
  - GPLv3
@@ -100,10 +98,10 @@ requirements:
100
98
  - opdis library and headers
101
99
  - GNU binutils library and headers
102
100
  rubyforge_project: opdis
103
- rubygems_version: 1.4.1
101
+ rubygems_version: 1.8.11
104
102
  signing_key:
105
103
  specification_version: 3
106
104
  summary: Ruby extension library providing an API to libopdis
107
105
  test_files:
108
- - tests/ut_opdis_bfd.rb
109
106
  - tests/ut_opdis.rb
107
+ - tests/ut_opdis_bfd.rb