crabstone 3.0.3 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (347) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGES.md +45 -42
  3. data/README.md +16 -33
  4. data/lib/crabstone.rb +5 -557
  5. data/lib/crabstone/arch.rb +37 -0
  6. data/lib/{arch → crabstone/arch/3}/arm.rb +28 -49
  7. data/lib/crabstone/arch/3/arm64.rb +124 -0
  8. data/lib/{arch → crabstone/arch/3}/arm64_const.rb +45 -86
  9. data/lib/{arch → crabstone/arch/3}/arm_const.rb +19 -47
  10. data/lib/crabstone/arch/3/mips.rb +57 -0
  11. data/lib/{arch → crabstone/arch/3}/mips_const.rb +18 -38
  12. data/lib/crabstone/arch/3/ppc.rb +73 -0
  13. data/lib/{arch → crabstone/arch/3}/ppc_const.rb +27 -43
  14. data/lib/crabstone/arch/3/sparc.rb +60 -0
  15. data/lib/{arch → crabstone/arch/3}/sparc_const.rb +49 -67
  16. data/lib/crabstone/arch/3/sysz.rb +67 -0
  17. data/lib/{arch → crabstone/arch/3}/sysz_const.rb +11 -25
  18. data/lib/crabstone/arch/3/x86.rb +82 -0
  19. data/lib/{arch → crabstone/arch/3}/x86_const.rb +15 -36
  20. data/lib/crabstone/arch/3/xcore.rb +59 -0
  21. data/lib/{arch → crabstone/arch/3}/xcore_const.rb +10 -22
  22. data/lib/crabstone/arch/4/arm.rb +110 -0
  23. data/lib/crabstone/arch/4/arm64.rb +125 -0
  24. data/lib/crabstone/arch/4/arm64_const.rb +1016 -0
  25. data/lib/crabstone/arch/4/arm_const.rb +785 -0
  26. data/lib/crabstone/arch/4/evm.rb +20 -0
  27. data/lib/crabstone/arch/4/evm_const.rb +161 -0
  28. data/lib/crabstone/arch/4/m680x.rb +106 -0
  29. data/lib/crabstone/arch/4/m680x_const.rb +426 -0
  30. data/lib/crabstone/arch/4/m68k.rb +129 -0
  31. data/lib/crabstone/arch/4/m68k_const.rb +496 -0
  32. data/lib/crabstone/arch/4/mips.rb +57 -0
  33. data/lib/crabstone/arch/4/mips_const.rb +869 -0
  34. data/lib/crabstone/arch/4/ppc.rb +73 -0
  35. data/lib/crabstone/arch/4/ppc_const.rb +1375 -0
  36. data/lib/crabstone/arch/4/sparc.rb +60 -0
  37. data/lib/crabstone/arch/4/sparc_const.rb +439 -0
  38. data/lib/crabstone/arch/4/sysz.rb +67 -0
  39. data/lib/crabstone/arch/4/sysz_const.rb +763 -0
  40. data/lib/crabstone/arch/4/tms320c64x.rb +87 -0
  41. data/lib/crabstone/arch/4/tms320c64x_const.rb +287 -0
  42. data/lib/crabstone/arch/4/x86.rb +91 -0
  43. data/lib/crabstone/arch/4/x86_const.rb +1972 -0
  44. data/lib/crabstone/arch/4/xcore.rb +59 -0
  45. data/lib/crabstone/arch/4/xcore_const.rb +171 -0
  46. data/lib/crabstone/arch/extension.rb +27 -0
  47. data/lib/crabstone/arch/register.rb +36 -0
  48. data/lib/crabstone/binding.rb +60 -0
  49. data/lib/crabstone/binding/3/detail.rb +36 -0
  50. data/lib/crabstone/binding/3/instruction.rb +23 -0
  51. data/lib/crabstone/binding/4/detail.rb +40 -0
  52. data/lib/crabstone/binding/4/instruction.rb +23 -0
  53. data/lib/crabstone/binding/structs.rb +32 -0
  54. data/lib/crabstone/constants.rb +110 -0
  55. data/lib/crabstone/cs_version.rb +49 -0
  56. data/lib/crabstone/disassembler.rb +153 -0
  57. data/lib/crabstone/error.rb +60 -0
  58. data/lib/crabstone/instruction.rb +183 -0
  59. data/lib/crabstone/version.rb +5 -0
  60. metadata +128 -324
  61. data/MANIFEST +0 -312
  62. data/Rakefile +0 -27
  63. data/bin/genconst +0 -66
  64. data/bin/genreg +0 -99
  65. data/crabstone.gemspec +0 -27
  66. data/examples/hello_world.rb +0 -43
  67. data/lib/arch/arm64.rb +0 -167
  68. data/lib/arch/arm64_registers.rb +0 -295
  69. data/lib/arch/arm_registers.rb +0 -149
  70. data/lib/arch/mips.rb +0 -78
  71. data/lib/arch/mips_registers.rb +0 -208
  72. data/lib/arch/ppc.rb +0 -90
  73. data/lib/arch/ppc_registers.rb +0 -209
  74. data/lib/arch/sparc.rb +0 -79
  75. data/lib/arch/sparc_registers.rb +0 -121
  76. data/lib/arch/systemz.rb +0 -79
  77. data/lib/arch/sysz_registers.rb +0 -66
  78. data/lib/arch/x86.rb +0 -107
  79. data/lib/arch/x86_registers.rb +0 -265
  80. data/lib/arch/xcore.rb +0 -78
  81. data/lib/arch/xcore_registers.rb +0 -57
  82. data/test/MC/AArch64/basic-a64-instructions.s.cs +0 -2014
  83. data/test/MC/AArch64/gicv3-regs.s.cs +0 -111
  84. data/test/MC/AArch64/neon-2velem.s.cs +0 -113
  85. data/test/MC/AArch64/neon-3vdiff.s.cs +0 -143
  86. data/test/MC/AArch64/neon-aba-abd.s.cs +0 -28
  87. data/test/MC/AArch64/neon-across.s.cs +0 -40
  88. data/test/MC/AArch64/neon-add-pairwise.s.cs +0 -11
  89. data/test/MC/AArch64/neon-add-sub-instructions.s.cs +0 -21
  90. data/test/MC/AArch64/neon-bitwise-instructions.s.cs +0 -17
  91. data/test/MC/AArch64/neon-compare-instructions.s.cs +0 -136
  92. data/test/MC/AArch64/neon-crypto.s.cs +0 -15
  93. data/test/MC/AArch64/neon-extract.s.cs +0 -3
  94. data/test/MC/AArch64/neon-facge-facgt.s.cs +0 -13
  95. data/test/MC/AArch64/neon-frsqrt-frecp.s.cs +0 -7
  96. data/test/MC/AArch64/neon-halving-add-sub.s.cs +0 -25
  97. data/test/MC/AArch64/neon-max-min-pairwise.s.cs +0 -37
  98. data/test/MC/AArch64/neon-max-min.s.cs +0 -37
  99. data/test/MC/AArch64/neon-mla-mls-instructions.s.cs +0 -19
  100. data/test/MC/AArch64/neon-mov.s.cs +0 -74
  101. data/test/MC/AArch64/neon-mul-div-instructions.s.cs +0 -24
  102. data/test/MC/AArch64/neon-perm.s.cs +0 -43
  103. data/test/MC/AArch64/neon-rounding-halving-add.s.cs +0 -13
  104. data/test/MC/AArch64/neon-rounding-shift.s.cs +0 -15
  105. data/test/MC/AArch64/neon-saturating-add-sub.s.cs +0 -29
  106. data/test/MC/AArch64/neon-saturating-rounding-shift.s.cs +0 -15
  107. data/test/MC/AArch64/neon-saturating-shift.s.cs +0 -15
  108. data/test/MC/AArch64/neon-scalar-abs.s.cs +0 -8
  109. data/test/MC/AArch64/neon-scalar-add-sub.s.cs +0 -3
  110. data/test/MC/AArch64/neon-scalar-by-elem-mla.s.cs +0 -13
  111. data/test/MC/AArch64/neon-scalar-by-elem-mul.s.cs +0 -13
  112. data/test/MC/AArch64/neon-scalar-by-elem-saturating-mla.s.cs +0 -15
  113. data/test/MC/AArch64/neon-scalar-by-elem-saturating-mul.s.cs +0 -18
  114. data/test/MC/AArch64/neon-scalar-compare.s.cs +0 -12
  115. data/test/MC/AArch64/neon-scalar-cvt.s.cs +0 -34
  116. data/test/MC/AArch64/neon-scalar-dup.s.cs +0 -23
  117. data/test/MC/AArch64/neon-scalar-extract-narrow.s.cs +0 -10
  118. data/test/MC/AArch64/neon-scalar-fp-compare.s.cs +0 -21
  119. data/test/MC/AArch64/neon-scalar-mul.s.cs +0 -13
  120. data/test/MC/AArch64/neon-scalar-neg.s.cs +0 -6
  121. data/test/MC/AArch64/neon-scalar-recip.s.cs +0 -11
  122. data/test/MC/AArch64/neon-scalar-reduce-pairwise.s.cs +0 -3
  123. data/test/MC/AArch64/neon-scalar-rounding-shift.s.cs +0 -3
  124. data/test/MC/AArch64/neon-scalar-saturating-add-sub.s.cs +0 -25
  125. data/test/MC/AArch64/neon-scalar-saturating-rounding-shift.s.cs +0 -9
  126. data/test/MC/AArch64/neon-scalar-saturating-shift.s.cs +0 -9
  127. data/test/MC/AArch64/neon-scalar-shift-imm.s.cs +0 -42
  128. data/test/MC/AArch64/neon-scalar-shift.s.cs +0 -3
  129. data/test/MC/AArch64/neon-shift-left-long.s.cs +0 -13
  130. data/test/MC/AArch64/neon-shift.s.cs +0 -22
  131. data/test/MC/AArch64/neon-simd-copy.s.cs +0 -42
  132. data/test/MC/AArch64/neon-simd-ldst-multi-elem.s.cs +0 -197
  133. data/test/MC/AArch64/neon-simd-ldst-one-elem.s.cs +0 -129
  134. data/test/MC/AArch64/neon-simd-misc.s.cs +0 -213
  135. data/test/MC/AArch64/neon-simd-post-ldst-multi-elem.s.cs +0 -107
  136. data/test/MC/AArch64/neon-simd-shift.s.cs +0 -151
  137. data/test/MC/AArch64/neon-tbl.s.cs +0 -21
  138. data/test/MC/AArch64/trace-regs.s.cs +0 -383
  139. data/test/MC/ARM/arm-aliases.s.cs +0 -7
  140. data/test/MC/ARM/arm-arithmetic-aliases.s.cs +0 -50
  141. data/test/MC/ARM/arm-it-block.s.cs +0 -2
  142. data/test/MC/ARM/arm-memory-instructions.s.cs +0 -138
  143. data/test/MC/ARM/arm-shift-encoding.s.cs +0 -50
  144. data/test/MC/ARM/arm-thumb-trustzone.s.cs +0 -3
  145. data/test/MC/ARM/arm-trustzone.s.cs +0 -3
  146. data/test/MC/ARM/arm_addrmode2.s.cs +0 -15
  147. data/test/MC/ARM/arm_addrmode3.s.cs +0 -9
  148. data/test/MC/ARM/arm_instructions.s.cs +0 -25
  149. data/test/MC/ARM/basic-arm-instructions-v8.s.cs +0 -10
  150. data/test/MC/ARM/basic-arm-instructions.s.cs +0 -997
  151. data/test/MC/ARM/basic-thumb-instructions.s.cs +0 -130
  152. data/test/MC/ARM/basic-thumb2-instructions-v8.s.cs +0 -1
  153. data/test/MC/ARM/basic-thumb2-instructions.s.cs +0 -1242
  154. data/test/MC/ARM/crc32-thumb.s.cs +0 -7
  155. data/test/MC/ARM/crc32.s.cs +0 -7
  156. data/test/MC/ARM/dot-req.s.cs +0 -3
  157. data/test/MC/ARM/fp-armv8.s.cs +0 -52
  158. data/test/MC/ARM/idiv-thumb.s.cs +0 -3
  159. data/test/MC/ARM/idiv.s.cs +0 -3
  160. data/test/MC/ARM/load-store-acquire-release-v8-thumb.s.cs +0 -15
  161. data/test/MC/ARM/load-store-acquire-release-v8.s.cs +0 -15
  162. data/test/MC/ARM/mode-switch.s.cs +0 -7
  163. data/test/MC/ARM/neon-abs-encoding.s.cs +0 -15
  164. data/test/MC/ARM/neon-absdiff-encoding.s.cs +0 -39
  165. data/test/MC/ARM/neon-add-encoding.s.cs +0 -119
  166. data/test/MC/ARM/neon-bitcount-encoding.s.cs +0 -15
  167. data/test/MC/ARM/neon-bitwise-encoding.s.cs +0 -126
  168. data/test/MC/ARM/neon-cmp-encoding.s.cs +0 -88
  169. data/test/MC/ARM/neon-convert-encoding.s.cs +0 -27
  170. data/test/MC/ARM/neon-crypto.s.cs +0 -16
  171. data/test/MC/ARM/neon-dup-encoding.s.cs +0 -13
  172. data/test/MC/ARM/neon-minmax-encoding.s.cs +0 -57
  173. data/test/MC/ARM/neon-mov-encoding.s.cs +0 -76
  174. data/test/MC/ARM/neon-mul-accum-encoding.s.cs +0 -39
  175. data/test/MC/ARM/neon-mul-encoding.s.cs +0 -72
  176. data/test/MC/ARM/neon-neg-encoding.s.cs +0 -15
  177. data/test/MC/ARM/neon-pairwise-encoding.s.cs +0 -47
  178. data/test/MC/ARM/neon-reciprocal-encoding.s.cs +0 -13
  179. data/test/MC/ARM/neon-reverse-encoding.s.cs +0 -13
  180. data/test/MC/ARM/neon-satshift-encoding.s.cs +0 -75
  181. data/test/MC/ARM/neon-shift-encoding.s.cs +0 -238
  182. data/test/MC/ARM/neon-shiftaccum-encoding.s.cs +0 -97
  183. data/test/MC/ARM/neon-shuffle-encoding.s.cs +0 -59
  184. data/test/MC/ARM/neon-sub-encoding.s.cs +0 -82
  185. data/test/MC/ARM/neon-table-encoding.s.cs +0 -9
  186. data/test/MC/ARM/neon-v8.s.cs +0 -38
  187. data/test/MC/ARM/neon-vld-encoding.s.cs +0 -213
  188. data/test/MC/ARM/neon-vst-encoding.s.cs +0 -120
  189. data/test/MC/ARM/neon-vswp.s.cs +0 -3
  190. data/test/MC/ARM/neont2-abs-encoding.s.cs +0 -15
  191. data/test/MC/ARM/neont2-absdiff-encoding.s.cs +0 -39
  192. data/test/MC/ARM/neont2-add-encoding.s.cs +0 -65
  193. data/test/MC/ARM/neont2-bitcount-encoding.s.cs +0 -15
  194. data/test/MC/ARM/neont2-bitwise-encoding.s.cs +0 -15
  195. data/test/MC/ARM/neont2-cmp-encoding.s.cs +0 -17
  196. data/test/MC/ARM/neont2-convert-encoding.s.cs +0 -19
  197. data/test/MC/ARM/neont2-dup-encoding.s.cs +0 -19
  198. data/test/MC/ARM/neont2-minmax-encoding.s.cs +0 -57
  199. data/test/MC/ARM/neont2-mov-encoding.s.cs +0 -58
  200. data/test/MC/ARM/neont2-mul-accum-encoding.s.cs +0 -41
  201. data/test/MC/ARM/neont2-mul-encoding.s.cs +0 -31
  202. data/test/MC/ARM/neont2-neg-encoding.s.cs +0 -15
  203. data/test/MC/ARM/neont2-pairwise-encoding.s.cs +0 -43
  204. data/test/MC/ARM/neont2-reciprocal-encoding.s.cs +0 -13
  205. data/test/MC/ARM/neont2-reverse-encoding.s.cs +0 -13
  206. data/test/MC/ARM/neont2-satshift-encoding.s.cs +0 -75
  207. data/test/MC/ARM/neont2-shift-encoding.s.cs +0 -80
  208. data/test/MC/ARM/neont2-shiftaccum-encoding.s.cs +0 -97
  209. data/test/MC/ARM/neont2-shuffle-encoding.s.cs +0 -23
  210. data/test/MC/ARM/neont2-sub-encoding.s.cs +0 -23
  211. data/test/MC/ARM/neont2-table-encoding.s.cs +0 -9
  212. data/test/MC/ARM/neont2-vld-encoding.s.cs +0 -51
  213. data/test/MC/ARM/neont2-vst-encoding.s.cs +0 -48
  214. data/test/MC/ARM/simple-fp-encoding.s.cs +0 -157
  215. data/test/MC/ARM/thumb-fp-armv8.s.cs +0 -51
  216. data/test/MC/ARM/thumb-hints.s.cs +0 -12
  217. data/test/MC/ARM/thumb-neon-crypto.s.cs +0 -16
  218. data/test/MC/ARM/thumb-neon-v8.s.cs +0 -38
  219. data/test/MC/ARM/thumb-shift-encoding.s.cs +0 -19
  220. data/test/MC/ARM/thumb.s.cs +0 -19
  221. data/test/MC/ARM/thumb2-b.w-encodingT4.s.cs +0 -2
  222. data/test/MC/ARM/thumb2-branches.s.cs +0 -85
  223. data/test/MC/ARM/thumb2-mclass.s.cs +0 -41
  224. data/test/MC/ARM/thumb2-narrow-dp.ll.cs +0 -379
  225. data/test/MC/ARM/thumb2-pldw.s.cs +0 -2
  226. data/test/MC/ARM/vfp4-thumb.s.cs +0 -13
  227. data/test/MC/ARM/vfp4.s.cs +0 -13
  228. data/test/MC/ARM/vpush-vpop-thumb.s.cs +0 -9
  229. data/test/MC/ARM/vpush-vpop.s.cs +0 -9
  230. data/test/MC/Mips/hilo-addressing.s.cs +0 -4
  231. data/test/MC/Mips/micromips-alu-instructions-EB.s.cs +0 -33
  232. data/test/MC/Mips/micromips-alu-instructions.s.cs +0 -33
  233. data/test/MC/Mips/micromips-branch-instructions-EB.s.cs +0 -11
  234. data/test/MC/Mips/micromips-branch-instructions.s.cs +0 -11
  235. data/test/MC/Mips/micromips-expansions.s.cs +0 -20
  236. data/test/MC/Mips/micromips-jump-instructions-EB.s.cs +0 -5
  237. data/test/MC/Mips/micromips-jump-instructions.s.cs +0 -6
  238. data/test/MC/Mips/micromips-loadstore-instructions-EB.s.cs +0 -9
  239. data/test/MC/Mips/micromips-loadstore-instructions.s.cs +0 -9
  240. data/test/MC/Mips/micromips-loadstore-unaligned-EB.s.cs +0 -5
  241. data/test/MC/Mips/micromips-loadstore-unaligned.s.cs +0 -5
  242. data/test/MC/Mips/micromips-movcond-instructions-EB.s.cs +0 -5
  243. data/test/MC/Mips/micromips-movcond-instructions.s.cs +0 -5
  244. data/test/MC/Mips/micromips-multiply-instructions-EB.s.cs +0 -5
  245. data/test/MC/Mips/micromips-multiply-instructions.s.cs +0 -5
  246. data/test/MC/Mips/micromips-shift-instructions-EB.s.cs +0 -9
  247. data/test/MC/Mips/micromips-shift-instructions.s.cs +0 -9
  248. data/test/MC/Mips/micromips-trap-instructions-EB.s.cs +0 -13
  249. data/test/MC/Mips/micromips-trap-instructions.s.cs +0 -13
  250. data/test/MC/Mips/mips-alu-instructions.s.cs +0 -53
  251. data/test/MC/Mips/mips-control-instructions-64.s.cs +0 -33
  252. data/test/MC/Mips/mips-control-instructions.s.cs +0 -33
  253. data/test/MC/Mips/mips-coprocessor-encodings.s.cs +0 -17
  254. data/test/MC/Mips/mips-dsp-instructions.s.cs +0 -43
  255. data/test/MC/Mips/mips-expansions.s.cs +0 -20
  256. data/test/MC/Mips/mips-fpu-instructions.s.cs +0 -93
  257. data/test/MC/Mips/mips-jump-instructions.s.cs +0 -1
  258. data/test/MC/Mips/mips-memory-instructions.s.cs +0 -17
  259. data/test/MC/Mips/mips-register-names.s.cs +0 -33
  260. data/test/MC/Mips/mips64-alu-instructions.s.cs +0 -47
  261. data/test/MC/Mips/mips64-instructions.s.cs +0 -3
  262. data/test/MC/Mips/mips64-register-names.s.cs +0 -33
  263. data/test/MC/Mips/mips_directives.s.cs +0 -12
  264. data/test/MC/Mips/nabi-regs.s.cs +0 -12
  265. data/test/MC/Mips/set-at-directive.s.cs +0 -6
  266. data/test/MC/Mips/test_2r.s.cs +0 -16
  267. data/test/MC/Mips/test_2rf.s.cs +0 -33
  268. data/test/MC/Mips/test_3r.s.cs +0 -243
  269. data/test/MC/Mips/test_3rf.s.cs +0 -83
  270. data/test/MC/Mips/test_bit.s.cs +0 -49
  271. data/test/MC/Mips/test_cbranch.s.cs +0 -11
  272. data/test/MC/Mips/test_ctrlregs.s.cs +0 -33
  273. data/test/MC/Mips/test_elm.s.cs +0 -16
  274. data/test/MC/Mips/test_elm_insert.s.cs +0 -4
  275. data/test/MC/Mips/test_elm_insve.s.cs +0 -5
  276. data/test/MC/Mips/test_i10.s.cs +0 -5
  277. data/test/MC/Mips/test_i5.s.cs +0 -45
  278. data/test/MC/Mips/test_i8.s.cs +0 -11
  279. data/test/MC/Mips/test_lsa.s.cs +0 -5
  280. data/test/MC/Mips/test_mi10.s.cs +0 -24
  281. data/test/MC/Mips/test_vec.s.cs +0 -8
  282. data/test/MC/PowerPC/ppc64-encoding-bookII.s.cs +0 -25
  283. data/test/MC/PowerPC/ppc64-encoding-bookIII.s.cs +0 -35
  284. data/test/MC/PowerPC/ppc64-encoding-ext.s.cs +0 -535
  285. data/test/MC/PowerPC/ppc64-encoding-fp.s.cs +0 -110
  286. data/test/MC/PowerPC/ppc64-encoding-vmx.s.cs +0 -170
  287. data/test/MC/PowerPC/ppc64-encoding.s.cs +0 -202
  288. data/test/MC/PowerPC/ppc64-operands.s.cs +0 -32
  289. data/test/MC/README +0 -6
  290. data/test/MC/Sparc/sparc-alu-instructions.s.cs +0 -47
  291. data/test/MC/Sparc/sparc-atomic-instructions.s.cs +0 -7
  292. data/test/MC/Sparc/sparc-ctrl-instructions.s.cs +0 -11
  293. data/test/MC/Sparc/sparc-fp-instructions.s.cs +0 -59
  294. data/test/MC/Sparc/sparc-mem-instructions.s.cs +0 -25
  295. data/test/MC/Sparc/sparc-vis.s.cs +0 -2
  296. data/test/MC/Sparc/sparc64-alu-instructions.s.cs +0 -13
  297. data/test/MC/Sparc/sparc64-ctrl-instructions.s.cs +0 -102
  298. data/test/MC/Sparc/sparcv8-instructions.s.cs +0 -7
  299. data/test/MC/Sparc/sparcv9-instructions.s.cs +0 -1
  300. data/test/MC/SystemZ/insn-good-z196.s.cs +0 -589
  301. data/test/MC/SystemZ/insn-good.s.cs +0 -2265
  302. data/test/MC/SystemZ/regs-good.s.cs +0 -45
  303. data/test/MC/X86/3DNow.s.cs +0 -29
  304. data/test/MC/X86/address-size.s.cs +0 -5
  305. data/test/MC/X86/avx512-encodings.s.cs +0 -12
  306. data/test/MC/X86/intel-syntax-encoding.s.cs +0 -30
  307. data/test/MC/X86/x86-32-avx.s.cs +0 -833
  308. data/test/MC/X86/x86-32-fma3.s.cs +0 -169
  309. data/test/MC/X86/x86-32-ms-inline-asm.s.cs +0 -27
  310. data/test/MC/X86/x86_64-avx-clmul-encoding.s.cs +0 -11
  311. data/test/MC/X86/x86_64-avx-encoding.s.cs +0 -1058
  312. data/test/MC/X86/x86_64-bmi-encoding.s.cs +0 -51
  313. data/test/MC/X86/x86_64-encoding.s.cs +0 -59
  314. data/test/MC/X86/x86_64-fma3-encoding.s.cs +0 -169
  315. data/test/MC/X86/x86_64-fma4-encoding.s.cs +0 -98
  316. data/test/MC/X86/x86_64-hle-encoding.s.cs +0 -3
  317. data/test/MC/X86/x86_64-imm-widths.s.cs +0 -27
  318. data/test/MC/X86/x86_64-rand-encoding.s.cs +0 -13
  319. data/test/MC/X86/x86_64-rtm-encoding.s.cs +0 -4
  320. data/test/MC/X86/x86_64-sse4a.s.cs +0 -1
  321. data/test/MC/X86/x86_64-tbm-encoding.s.cs +0 -40
  322. data/test/MC/X86/x86_64-xop-encoding.s.cs +0 -152
  323. data/test/README +0 -6
  324. data/test/test.rb +0 -205
  325. data/test/test.rb.SPEC +0 -235
  326. data/test/test_arm.rb +0 -202
  327. data/test/test_arm.rb.SPEC +0 -275
  328. data/test/test_arm64.rb +0 -150
  329. data/test/test_arm64.rb.SPEC +0 -116
  330. data/test/test_detail.rb +0 -228
  331. data/test/test_detail.rb.SPEC +0 -322
  332. data/test/test_exhaustive.rb +0 -80
  333. data/test/test_mips.rb +0 -118
  334. data/test/test_mips.rb.SPEC +0 -91
  335. data/test/test_ppc.rb +0 -137
  336. data/test/test_ppc.rb.SPEC +0 -84
  337. data/test/test_sanity.rb +0 -83
  338. data/test/test_skipdata.rb +0 -111
  339. data/test/test_skipdata.rb.SPEC +0 -58
  340. data/test/test_sparc.rb +0 -113
  341. data/test/test_sparc.rb.SPEC +0 -116
  342. data/test/test_sysz.rb +0 -111
  343. data/test/test_sysz.rb.SPEC +0 -61
  344. data/test/test_x86.rb +0 -189
  345. data/test/test_x86.rb.SPEC +0 -579
  346. data/test/test_xcore.rb +0 -100
  347. data/test/test_xcore.rb.SPEC +0 -75
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Crabstone
4
+ VERSION = '4.0.0'
5
+ end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crabstone
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Nagy
8
+ - david942j
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2017-06-06 00:00:00.000000000 Z
12
+ date: 2019-02-05 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: ffi
@@ -25,19 +26,75 @@ dependencies:
25
26
  - !ruby/object:Gem::Version
26
27
  version: '0'
27
28
  - !ruby/object:Gem::Dependency
28
- name: test-unit
29
+ name: rake
29
30
  requirement: !ruby/object:Gem::Requirement
30
31
  requirements:
31
- - - ">="
32
+ - - "~>"
32
33
  - !ruby/object:Gem::Version
33
- version: '0'
34
+ version: '12'
34
35
  type: :development
35
36
  prerelease: false
36
37
  version_requirements: !ruby/object:Gem::Requirement
37
38
  requirements:
38
- - - ">="
39
+ - - "~>"
39
40
  - !ruby/object:Gem::Version
40
- version: '0'
41
+ version: '12'
42
+ - !ruby/object:Gem::Dependency
43
+ name: rspec
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '3.8'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '3.8'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rubocop
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '0.63'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '0.63'
70
+ - !ruby/object:Gem::Dependency
71
+ name: simplecov
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '0.16'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '0.16'
84
+ - !ruby/object:Gem::Dependency
85
+ name: versionomy
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '0.5'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '0.5'
41
98
  description: |2+
42
99
 
43
100
  Capstone is a disassembly engine written by Nguyen Anh Quynh, available here
@@ -45,317 +102,78 @@ description: |2+
45
102
  against MRI 2.0.0, 2.1.0 and JRuby 1.7.8. AFAIK it works with rubinius
46
103
  2.2.1.
47
104
 
48
- email: crabstone@ben.iagu.net
105
+ email:
106
+ - crabstone@ben.iagu.net
107
+ - david942j@gmail.com
49
108
  executables: []
50
109
  extensions: []
51
110
  extra_rdoc_files:
52
111
  - CHANGES.md
53
112
  - README.md
54
- - MANIFEST
113
+ - LICENSE
55
114
  files:
56
115
  - CHANGES.md
57
116
  - LICENSE
58
- - MANIFEST
59
117
  - README.md
60
- - Rakefile
61
- - bin/genconst
62
- - bin/genreg
63
- - crabstone.gemspec
64
- - examples/hello_world.rb
65
- - lib/arch/arm.rb
66
- - lib/arch/arm64.rb
67
- - lib/arch/arm64_const.rb
68
- - lib/arch/arm64_registers.rb
69
- - lib/arch/arm_const.rb
70
- - lib/arch/arm_registers.rb
71
- - lib/arch/mips.rb
72
- - lib/arch/mips_const.rb
73
- - lib/arch/mips_registers.rb
74
- - lib/arch/ppc.rb
75
- - lib/arch/ppc_const.rb
76
- - lib/arch/ppc_registers.rb
77
- - lib/arch/sparc.rb
78
- - lib/arch/sparc_const.rb
79
- - lib/arch/sparc_registers.rb
80
- - lib/arch/systemz.rb
81
- - lib/arch/sysz_const.rb
82
- - lib/arch/sysz_registers.rb
83
- - lib/arch/x86.rb
84
- - lib/arch/x86_const.rb
85
- - lib/arch/x86_registers.rb
86
- - lib/arch/xcore.rb
87
- - lib/arch/xcore_const.rb
88
- - lib/arch/xcore_registers.rb
89
118
  - lib/crabstone.rb
90
- - test/MC/AArch64/basic-a64-instructions.s.cs
91
- - test/MC/AArch64/gicv3-regs.s.cs
92
- - test/MC/AArch64/neon-2velem.s.cs
93
- - test/MC/AArch64/neon-3vdiff.s.cs
94
- - test/MC/AArch64/neon-aba-abd.s.cs
95
- - test/MC/AArch64/neon-across.s.cs
96
- - test/MC/AArch64/neon-add-pairwise.s.cs
97
- - test/MC/AArch64/neon-add-sub-instructions.s.cs
98
- - test/MC/AArch64/neon-bitwise-instructions.s.cs
99
- - test/MC/AArch64/neon-compare-instructions.s.cs
100
- - test/MC/AArch64/neon-crypto.s.cs
101
- - test/MC/AArch64/neon-extract.s.cs
102
- - test/MC/AArch64/neon-facge-facgt.s.cs
103
- - test/MC/AArch64/neon-frsqrt-frecp.s.cs
104
- - test/MC/AArch64/neon-halving-add-sub.s.cs
105
- - test/MC/AArch64/neon-max-min-pairwise.s.cs
106
- - test/MC/AArch64/neon-max-min.s.cs
107
- - test/MC/AArch64/neon-mla-mls-instructions.s.cs
108
- - test/MC/AArch64/neon-mov.s.cs
109
- - test/MC/AArch64/neon-mul-div-instructions.s.cs
110
- - test/MC/AArch64/neon-perm.s.cs
111
- - test/MC/AArch64/neon-rounding-halving-add.s.cs
112
- - test/MC/AArch64/neon-rounding-shift.s.cs
113
- - test/MC/AArch64/neon-saturating-add-sub.s.cs
114
- - test/MC/AArch64/neon-saturating-rounding-shift.s.cs
115
- - test/MC/AArch64/neon-saturating-shift.s.cs
116
- - test/MC/AArch64/neon-scalar-abs.s.cs
117
- - test/MC/AArch64/neon-scalar-add-sub.s.cs
118
- - test/MC/AArch64/neon-scalar-by-elem-mla.s.cs
119
- - test/MC/AArch64/neon-scalar-by-elem-mul.s.cs
120
- - test/MC/AArch64/neon-scalar-by-elem-saturating-mla.s.cs
121
- - test/MC/AArch64/neon-scalar-by-elem-saturating-mul.s.cs
122
- - test/MC/AArch64/neon-scalar-compare.s.cs
123
- - test/MC/AArch64/neon-scalar-cvt.s.cs
124
- - test/MC/AArch64/neon-scalar-dup.s.cs
125
- - test/MC/AArch64/neon-scalar-extract-narrow.s.cs
126
- - test/MC/AArch64/neon-scalar-fp-compare.s.cs
127
- - test/MC/AArch64/neon-scalar-mul.s.cs
128
- - test/MC/AArch64/neon-scalar-neg.s.cs
129
- - test/MC/AArch64/neon-scalar-recip.s.cs
130
- - test/MC/AArch64/neon-scalar-reduce-pairwise.s.cs
131
- - test/MC/AArch64/neon-scalar-rounding-shift.s.cs
132
- - test/MC/AArch64/neon-scalar-saturating-add-sub.s.cs
133
- - test/MC/AArch64/neon-scalar-saturating-rounding-shift.s.cs
134
- - test/MC/AArch64/neon-scalar-saturating-shift.s.cs
135
- - test/MC/AArch64/neon-scalar-shift-imm.s.cs
136
- - test/MC/AArch64/neon-scalar-shift.s.cs
137
- - test/MC/AArch64/neon-shift-left-long.s.cs
138
- - test/MC/AArch64/neon-shift.s.cs
139
- - test/MC/AArch64/neon-simd-copy.s.cs
140
- - test/MC/AArch64/neon-simd-ldst-multi-elem.s.cs
141
- - test/MC/AArch64/neon-simd-ldst-one-elem.s.cs
142
- - test/MC/AArch64/neon-simd-misc.s.cs
143
- - test/MC/AArch64/neon-simd-post-ldst-multi-elem.s.cs
144
- - test/MC/AArch64/neon-simd-shift.s.cs
145
- - test/MC/AArch64/neon-tbl.s.cs
146
- - test/MC/AArch64/trace-regs.s.cs
147
- - test/MC/ARM/arm-aliases.s.cs
148
- - test/MC/ARM/arm-arithmetic-aliases.s.cs
149
- - test/MC/ARM/arm-it-block.s.cs
150
- - test/MC/ARM/arm-memory-instructions.s.cs
151
- - test/MC/ARM/arm-shift-encoding.s.cs
152
- - test/MC/ARM/arm-thumb-trustzone.s.cs
153
- - test/MC/ARM/arm-trustzone.s.cs
154
- - test/MC/ARM/arm_addrmode2.s.cs
155
- - test/MC/ARM/arm_addrmode3.s.cs
156
- - test/MC/ARM/arm_instructions.s.cs
157
- - test/MC/ARM/basic-arm-instructions-v8.s.cs
158
- - test/MC/ARM/basic-arm-instructions.s.cs
159
- - test/MC/ARM/basic-thumb-instructions.s.cs
160
- - test/MC/ARM/basic-thumb2-instructions-v8.s.cs
161
- - test/MC/ARM/basic-thumb2-instructions.s.cs
162
- - test/MC/ARM/crc32-thumb.s.cs
163
- - test/MC/ARM/crc32.s.cs
164
- - test/MC/ARM/dot-req.s.cs
165
- - test/MC/ARM/fp-armv8.s.cs
166
- - test/MC/ARM/idiv-thumb.s.cs
167
- - test/MC/ARM/idiv.s.cs
168
- - test/MC/ARM/load-store-acquire-release-v8-thumb.s.cs
169
- - test/MC/ARM/load-store-acquire-release-v8.s.cs
170
- - test/MC/ARM/mode-switch.s.cs
171
- - test/MC/ARM/neon-abs-encoding.s.cs
172
- - test/MC/ARM/neon-absdiff-encoding.s.cs
173
- - test/MC/ARM/neon-add-encoding.s.cs
174
- - test/MC/ARM/neon-bitcount-encoding.s.cs
175
- - test/MC/ARM/neon-bitwise-encoding.s.cs
176
- - test/MC/ARM/neon-cmp-encoding.s.cs
177
- - test/MC/ARM/neon-convert-encoding.s.cs
178
- - test/MC/ARM/neon-crypto.s.cs
179
- - test/MC/ARM/neon-dup-encoding.s.cs
180
- - test/MC/ARM/neon-minmax-encoding.s.cs
181
- - test/MC/ARM/neon-mov-encoding.s.cs
182
- - test/MC/ARM/neon-mul-accum-encoding.s.cs
183
- - test/MC/ARM/neon-mul-encoding.s.cs
184
- - test/MC/ARM/neon-neg-encoding.s.cs
185
- - test/MC/ARM/neon-pairwise-encoding.s.cs
186
- - test/MC/ARM/neon-reciprocal-encoding.s.cs
187
- - test/MC/ARM/neon-reverse-encoding.s.cs
188
- - test/MC/ARM/neon-satshift-encoding.s.cs
189
- - test/MC/ARM/neon-shift-encoding.s.cs
190
- - test/MC/ARM/neon-shiftaccum-encoding.s.cs
191
- - test/MC/ARM/neon-shuffle-encoding.s.cs
192
- - test/MC/ARM/neon-sub-encoding.s.cs
193
- - test/MC/ARM/neon-table-encoding.s.cs
194
- - test/MC/ARM/neon-v8.s.cs
195
- - test/MC/ARM/neon-vld-encoding.s.cs
196
- - test/MC/ARM/neon-vst-encoding.s.cs
197
- - test/MC/ARM/neon-vswp.s.cs
198
- - test/MC/ARM/neont2-abs-encoding.s.cs
199
- - test/MC/ARM/neont2-absdiff-encoding.s.cs
200
- - test/MC/ARM/neont2-add-encoding.s.cs
201
- - test/MC/ARM/neont2-bitcount-encoding.s.cs
202
- - test/MC/ARM/neont2-bitwise-encoding.s.cs
203
- - test/MC/ARM/neont2-cmp-encoding.s.cs
204
- - test/MC/ARM/neont2-convert-encoding.s.cs
205
- - test/MC/ARM/neont2-dup-encoding.s.cs
206
- - test/MC/ARM/neont2-minmax-encoding.s.cs
207
- - test/MC/ARM/neont2-mov-encoding.s.cs
208
- - test/MC/ARM/neont2-mul-accum-encoding.s.cs
209
- - test/MC/ARM/neont2-mul-encoding.s.cs
210
- - test/MC/ARM/neont2-neg-encoding.s.cs
211
- - test/MC/ARM/neont2-pairwise-encoding.s.cs
212
- - test/MC/ARM/neont2-reciprocal-encoding.s.cs
213
- - test/MC/ARM/neont2-reverse-encoding.s.cs
214
- - test/MC/ARM/neont2-satshift-encoding.s.cs
215
- - test/MC/ARM/neont2-shift-encoding.s.cs
216
- - test/MC/ARM/neont2-shiftaccum-encoding.s.cs
217
- - test/MC/ARM/neont2-shuffle-encoding.s.cs
218
- - test/MC/ARM/neont2-sub-encoding.s.cs
219
- - test/MC/ARM/neont2-table-encoding.s.cs
220
- - test/MC/ARM/neont2-vld-encoding.s.cs
221
- - test/MC/ARM/neont2-vst-encoding.s.cs
222
- - test/MC/ARM/simple-fp-encoding.s.cs
223
- - test/MC/ARM/thumb-fp-armv8.s.cs
224
- - test/MC/ARM/thumb-hints.s.cs
225
- - test/MC/ARM/thumb-neon-crypto.s.cs
226
- - test/MC/ARM/thumb-neon-v8.s.cs
227
- - test/MC/ARM/thumb-shift-encoding.s.cs
228
- - test/MC/ARM/thumb.s.cs
229
- - test/MC/ARM/thumb2-b.w-encodingT4.s.cs
230
- - test/MC/ARM/thumb2-branches.s.cs
231
- - test/MC/ARM/thumb2-mclass.s.cs
232
- - test/MC/ARM/thumb2-narrow-dp.ll.cs
233
- - test/MC/ARM/thumb2-pldw.s.cs
234
- - test/MC/ARM/vfp4-thumb.s.cs
235
- - test/MC/ARM/vfp4.s.cs
236
- - test/MC/ARM/vpush-vpop-thumb.s.cs
237
- - test/MC/ARM/vpush-vpop.s.cs
238
- - test/MC/Mips/hilo-addressing.s.cs
239
- - test/MC/Mips/micromips-alu-instructions-EB.s.cs
240
- - test/MC/Mips/micromips-alu-instructions.s.cs
241
- - test/MC/Mips/micromips-branch-instructions-EB.s.cs
242
- - test/MC/Mips/micromips-branch-instructions.s.cs
243
- - test/MC/Mips/micromips-expansions.s.cs
244
- - test/MC/Mips/micromips-jump-instructions-EB.s.cs
245
- - test/MC/Mips/micromips-jump-instructions.s.cs
246
- - test/MC/Mips/micromips-loadstore-instructions-EB.s.cs
247
- - test/MC/Mips/micromips-loadstore-instructions.s.cs
248
- - test/MC/Mips/micromips-loadstore-unaligned-EB.s.cs
249
- - test/MC/Mips/micromips-loadstore-unaligned.s.cs
250
- - test/MC/Mips/micromips-movcond-instructions-EB.s.cs
251
- - test/MC/Mips/micromips-movcond-instructions.s.cs
252
- - test/MC/Mips/micromips-multiply-instructions-EB.s.cs
253
- - test/MC/Mips/micromips-multiply-instructions.s.cs
254
- - test/MC/Mips/micromips-shift-instructions-EB.s.cs
255
- - test/MC/Mips/micromips-shift-instructions.s.cs
256
- - test/MC/Mips/micromips-trap-instructions-EB.s.cs
257
- - test/MC/Mips/micromips-trap-instructions.s.cs
258
- - test/MC/Mips/mips-alu-instructions.s.cs
259
- - test/MC/Mips/mips-control-instructions-64.s.cs
260
- - test/MC/Mips/mips-control-instructions.s.cs
261
- - test/MC/Mips/mips-coprocessor-encodings.s.cs
262
- - test/MC/Mips/mips-dsp-instructions.s.cs
263
- - test/MC/Mips/mips-expansions.s.cs
264
- - test/MC/Mips/mips-fpu-instructions.s.cs
265
- - test/MC/Mips/mips-jump-instructions.s.cs
266
- - test/MC/Mips/mips-memory-instructions.s.cs
267
- - test/MC/Mips/mips-register-names.s.cs
268
- - test/MC/Mips/mips64-alu-instructions.s.cs
269
- - test/MC/Mips/mips64-instructions.s.cs
270
- - test/MC/Mips/mips64-register-names.s.cs
271
- - test/MC/Mips/mips_directives.s.cs
272
- - test/MC/Mips/nabi-regs.s.cs
273
- - test/MC/Mips/set-at-directive.s.cs
274
- - test/MC/Mips/test_2r.s.cs
275
- - test/MC/Mips/test_2rf.s.cs
276
- - test/MC/Mips/test_3r.s.cs
277
- - test/MC/Mips/test_3rf.s.cs
278
- - test/MC/Mips/test_bit.s.cs
279
- - test/MC/Mips/test_cbranch.s.cs
280
- - test/MC/Mips/test_ctrlregs.s.cs
281
- - test/MC/Mips/test_elm.s.cs
282
- - test/MC/Mips/test_elm_insert.s.cs
283
- - test/MC/Mips/test_elm_insve.s.cs
284
- - test/MC/Mips/test_i10.s.cs
285
- - test/MC/Mips/test_i5.s.cs
286
- - test/MC/Mips/test_i8.s.cs
287
- - test/MC/Mips/test_lsa.s.cs
288
- - test/MC/Mips/test_mi10.s.cs
289
- - test/MC/Mips/test_vec.s.cs
290
- - test/MC/PowerPC/ppc64-encoding-bookII.s.cs
291
- - test/MC/PowerPC/ppc64-encoding-bookIII.s.cs
292
- - test/MC/PowerPC/ppc64-encoding-ext.s.cs
293
- - test/MC/PowerPC/ppc64-encoding-fp.s.cs
294
- - test/MC/PowerPC/ppc64-encoding-vmx.s.cs
295
- - test/MC/PowerPC/ppc64-encoding.s.cs
296
- - test/MC/PowerPC/ppc64-operands.s.cs
297
- - test/MC/README
298
- - test/MC/Sparc/sparc-alu-instructions.s.cs
299
- - test/MC/Sparc/sparc-atomic-instructions.s.cs
300
- - test/MC/Sparc/sparc-ctrl-instructions.s.cs
301
- - test/MC/Sparc/sparc-fp-instructions.s.cs
302
- - test/MC/Sparc/sparc-mem-instructions.s.cs
303
- - test/MC/Sparc/sparc-vis.s.cs
304
- - test/MC/Sparc/sparc64-alu-instructions.s.cs
305
- - test/MC/Sparc/sparc64-ctrl-instructions.s.cs
306
- - test/MC/Sparc/sparcv8-instructions.s.cs
307
- - test/MC/Sparc/sparcv9-instructions.s.cs
308
- - test/MC/SystemZ/insn-good-z196.s.cs
309
- - test/MC/SystemZ/insn-good.s.cs
310
- - test/MC/SystemZ/regs-good.s.cs
311
- - test/MC/X86/3DNow.s.cs
312
- - test/MC/X86/address-size.s.cs
313
- - test/MC/X86/avx512-encodings.s.cs
314
- - test/MC/X86/intel-syntax-encoding.s.cs
315
- - test/MC/X86/x86-32-avx.s.cs
316
- - test/MC/X86/x86-32-fma3.s.cs
317
- - test/MC/X86/x86-32-ms-inline-asm.s.cs
318
- - test/MC/X86/x86_64-avx-clmul-encoding.s.cs
319
- - test/MC/X86/x86_64-avx-encoding.s.cs
320
- - test/MC/X86/x86_64-bmi-encoding.s.cs
321
- - test/MC/X86/x86_64-encoding.s.cs
322
- - test/MC/X86/x86_64-fma3-encoding.s.cs
323
- - test/MC/X86/x86_64-fma4-encoding.s.cs
324
- - test/MC/X86/x86_64-hle-encoding.s.cs
325
- - test/MC/X86/x86_64-imm-widths.s.cs
326
- - test/MC/X86/x86_64-rand-encoding.s.cs
327
- - test/MC/X86/x86_64-rtm-encoding.s.cs
328
- - test/MC/X86/x86_64-sse4a.s.cs
329
- - test/MC/X86/x86_64-tbm-encoding.s.cs
330
- - test/MC/X86/x86_64-xop-encoding.s.cs
331
- - test/README
332
- - test/test.rb
333
- - test/test.rb.SPEC
334
- - test/test_arm.rb
335
- - test/test_arm.rb.SPEC
336
- - test/test_arm64.rb
337
- - test/test_arm64.rb.SPEC
338
- - test/test_detail.rb
339
- - test/test_detail.rb.SPEC
340
- - test/test_exhaustive.rb
341
- - test/test_mips.rb
342
- - test/test_mips.rb.SPEC
343
- - test/test_ppc.rb
344
- - test/test_ppc.rb.SPEC
345
- - test/test_sanity.rb
346
- - test/test_skipdata.rb
347
- - test/test_skipdata.rb.SPEC
348
- - test/test_sparc.rb
349
- - test/test_sparc.rb.SPEC
350
- - test/test_sysz.rb
351
- - test/test_sysz.rb.SPEC
352
- - test/test_x86.rb
353
- - test/test_x86.rb.SPEC
354
- - test/test_xcore.rb
355
- - test/test_xcore.rb.SPEC
356
- homepage: https://github.com/bnagy/crabstone
119
+ - lib/crabstone/arch.rb
120
+ - lib/crabstone/arch/3/arm.rb
121
+ - lib/crabstone/arch/3/arm64.rb
122
+ - lib/crabstone/arch/3/arm64_const.rb
123
+ - lib/crabstone/arch/3/arm_const.rb
124
+ - lib/crabstone/arch/3/mips.rb
125
+ - lib/crabstone/arch/3/mips_const.rb
126
+ - lib/crabstone/arch/3/ppc.rb
127
+ - lib/crabstone/arch/3/ppc_const.rb
128
+ - lib/crabstone/arch/3/sparc.rb
129
+ - lib/crabstone/arch/3/sparc_const.rb
130
+ - lib/crabstone/arch/3/sysz.rb
131
+ - lib/crabstone/arch/3/sysz_const.rb
132
+ - lib/crabstone/arch/3/x86.rb
133
+ - lib/crabstone/arch/3/x86_const.rb
134
+ - lib/crabstone/arch/3/xcore.rb
135
+ - lib/crabstone/arch/3/xcore_const.rb
136
+ - lib/crabstone/arch/4/arm.rb
137
+ - lib/crabstone/arch/4/arm64.rb
138
+ - lib/crabstone/arch/4/arm64_const.rb
139
+ - lib/crabstone/arch/4/arm_const.rb
140
+ - lib/crabstone/arch/4/evm.rb
141
+ - lib/crabstone/arch/4/evm_const.rb
142
+ - lib/crabstone/arch/4/m680x.rb
143
+ - lib/crabstone/arch/4/m680x_const.rb
144
+ - lib/crabstone/arch/4/m68k.rb
145
+ - lib/crabstone/arch/4/m68k_const.rb
146
+ - lib/crabstone/arch/4/mips.rb
147
+ - lib/crabstone/arch/4/mips_const.rb
148
+ - lib/crabstone/arch/4/ppc.rb
149
+ - lib/crabstone/arch/4/ppc_const.rb
150
+ - lib/crabstone/arch/4/sparc.rb
151
+ - lib/crabstone/arch/4/sparc_const.rb
152
+ - lib/crabstone/arch/4/sysz.rb
153
+ - lib/crabstone/arch/4/sysz_const.rb
154
+ - lib/crabstone/arch/4/tms320c64x.rb
155
+ - lib/crabstone/arch/4/tms320c64x_const.rb
156
+ - lib/crabstone/arch/4/x86.rb
157
+ - lib/crabstone/arch/4/x86_const.rb
158
+ - lib/crabstone/arch/4/xcore.rb
159
+ - lib/crabstone/arch/4/xcore_const.rb
160
+ - lib/crabstone/arch/extension.rb
161
+ - lib/crabstone/arch/register.rb
162
+ - lib/crabstone/binding.rb
163
+ - lib/crabstone/binding/3/detail.rb
164
+ - lib/crabstone/binding/3/instruction.rb
165
+ - lib/crabstone/binding/4/detail.rb
166
+ - lib/crabstone/binding/4/instruction.rb
167
+ - lib/crabstone/binding/structs.rb
168
+ - lib/crabstone/constants.rb
169
+ - lib/crabstone/cs_version.rb
170
+ - lib/crabstone/disassembler.rb
171
+ - lib/crabstone/error.rb
172
+ - lib/crabstone/instruction.rb
173
+ - lib/crabstone/version.rb
174
+ homepage: https://github.com/david942j/crabstone
357
175
  licenses:
358
- - BSD
176
+ - BSD-3-Clause
359
177
  metadata: {}
360
178
  post_install_message:
361
179
  rdoc_options: []
@@ -365,29 +183,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
365
183
  requirements:
366
184
  - - ">="
367
185
  - !ruby/object:Gem::Version
368
- version: '0'
186
+ version: '2.3'
369
187
  required_rubygems_version: !ruby/object:Gem::Requirement
370
188
  requirements:
371
189
  - - ">="
372
190
  - !ruby/object:Gem::Version
373
191
  version: '0'
374
192
  requirements: []
375
- rubyforge_project:
376
- rubygems_version: 2.5.2
193
+ rubygems_version: 3.0.2
377
194
  signing_key:
378
195
  specification_version: 4
379
196
  summary: Ruby FFI bindings for the capstone disassembly engine
380
- test_files:
381
- - test/test_arm64.rb
382
- - test/test_detail.rb
383
- - test/test_xcore.rb
384
- - test/test_x86.rb
385
- - test/test.rb
386
- - test/test_sanity.rb
387
- - test/test_exhaustive.rb
388
- - test/test_sysz.rb
389
- - test/test_ppc.rb
390
- - test/test_mips.rb
391
- - test/test_sparc.rb
392
- - test/test_skipdata.rb
393
- - test/test_arm.rb
197
+ test_files: []