Commit Graph

1501 Commits

Author SHA1 Message Date
pancake
b599bd3dcc Initial support for EVM (The Ethereum Virtual Machine) 2017-07-09 00:53:26 +02:00
Nils Berg
df82290e43 cast immediate values to unsigned char instead of char (#7871)
for compilers that default to signed char, wrong values were generated by this cast

example:
$ # before
$ rasm2 -a sh -d 'ffc8'
tst 0xFFFFFFFF,r0

$ # after
$ rasm2 -a sh -d 'ffc8'
tst 0xFF,r0
2017-07-07 00:31:37 +02:00
pancake
50643229e7 Make Vb run dbs like key.f2 for consistency 2017-07-02 23:37:13 +02:00
Sven Steinbauer
c97d11b1f9 Fix pass by value errors from scan (#7842) 2017-06-30 17:40:27 +02:00
SkUaTeR
c31d81da26 support for static build (#7822)
* support for static build
* improved sharard/static build
2017-06-28 22:54:40 +02:00
Sven Steinbauer
6283f7ecfc Fix and refactor imul for x86.nz (#7832)
* Fix and refactor imul for x86.nz

The imul op wasn't correctly supported in x86.nz so decided to update
and refactor it. It now supports all operand numbers and combinations as
per the docs.

* Remove dead code
2017-06-28 13:54:15 +02:00
Adrian Studer
c1cb93aaf8 set ptr and val to correct values (#7817) 2017-06-25 17:03:25 +02:00
pancake
87fe418092 Fix #7706 - Enhance the Java assembler 2017-06-24 19:58:48 +02:00
Adrian Studer
e1da08a4e8 8051 decode bit address (#7812)
* decode bit addresses
* fix op length for xrl a,r and anl a,r
2017-06-24 10:24:06 -05:00
Adrian Studer
c49f668099 fix 8051 addr11 and mov dir,dir (#7793) 2017-06-21 06:38:09 -05:00
Sven Steinbauer
96c7fe5589 Fix 64bit lea instruction in nz (#7795)
FIX #7788
2017-06-21 06:33:16 -05:00
xarkes
ca5a68ebb3 Adding files to meson + windows env refactor 2017-06-20 18:03:30 +08:00
Adrian Studer
673fa9636f Rewritten 8051 disassembler 2017-06-18 10:23:04 +02:00
Lennart Braun
a6ec3b6d89 Fix regression with capstone 3 (#7757)
The option CS_OPT_UNSIGNED is part of capstone-next and not available in capstone 3.
It is used in radare2 since 0b4eb17.
2017-06-16 20:44:40 +02:00
pancake
0b4eb1740c Update the capstone-x86-unsigned patch 2017-06-15 10:07:20 +02:00
propaganda
b3ee74dacd fix cs_open()-without-cs_close() memory leak in disassemble() by uncommenting //cs_close() 2017-06-15 09:06:22 +02:00
xarkes
46deac0dde Fixing appveyor build (#7735) 2017-06-14 13:45:48 +02:00
pancake
54150fa3db Fix last covs 2017-06-12 11:28:54 +02:00
pancake
dfe3cb8305 Honor asm.flags in prc 2017-06-10 17:47:26 +02:00
pancake
aad2d70552 Fix some warnings 2017-06-09 03:22:18 -11:00
pancake
0037ec0b78 Minor tweaks for this hexagon support 2017-06-07 11:54:00 +02:00
pancake
39542af604 Initial support for the Hexagon CPU (ripped from a binutils fork from 2013)
https://www.spinics.net/lists/linux-hexagon/msg00363.html
2017-06-07 11:43:24 +02:00
pancake
6a9b0430db Fix disasm crash in r2_ir_dalvik_disassemble 2017-06-05 12:42:35 +02:00
Lennart Braun
e1dc11bccd Fix regression with capstone 3 (#7666)
The constant CS_MODE_MIPS2 is introduced in a patch for capstone-next
(added in 1c6ee8dd3a) and will not be available in capstone 3.
2017-06-03 18:18:05 +02:00
Francesco Tamagni
1c6ee8dd3a Honor cpu on anal_mips_cs and add/fix some mips64 instruction (#7643)
* Honor cpu on anal_mips_cs and add/fix some mips64 instruction
* Add mips2 capstone patch
* mips: add v2 cpu, remove 64v2, mips32/64 is default
2017-06-01 18:18:15 +02:00
Sven Steinbauer
98bd7e7dd5 Fix coverity deref NULL x (#7642) 2017-05-31 16:49:29 +02:00
SkUaTeR
dc7914644e Meson improvements 2017-05-31 13:38:47 +02:00
SkUaTeR
0596c1c08e Meson shlr libs 2017-05-30 18:38:19 +02:00
Francesco Tamagni
edb46a8495 Workaround capstone bug for mips64 disassembly (#7632)
* Add asm.cpu=64v2 to support modern mips64
* Enforce 64 bits for 64v2 cpu
2017-05-30 13:33:40 +02:00
Sven Steinbauer
4dd740ebf2 Add rasm -r option honor flags and seeks 2017-05-30 13:19:21 +02:00
pancake
4ee963ee98 Fix some clang-analyzer issues 2017-05-29 15:01:11 +02:00
Sajjad Pourali
0ad85c3af1 Fix incorrect empty array compersion in armass64.c (#7622) 2017-05-29 14:18:55 +02:00
pancake
08f131198f gp64 asm.cpu forces asm.bits internally 2017-05-29 01:44:32 +02:00
Sajjad Pourali
5d2b961a72 Remove unnecessary comparison (#7604) 2017-05-27 13:08:45 +02:00
pancake
6758e3753d Remove configure-plugins dependency for the make meson 2017-05-26 02:43:53 +02:00
Marc
ae1aef88b9 Add align info in payloads #7376 (#7574) 2017-05-23 03:01:45 +02:00
Srimanta Barua
d3958f00e4 Initial stub for gdbserver support
* Renaming functions, reorganizing code, adding temporary hack for closing gdbserver
2017-05-22 19:37:48 +02:00
SkUaTeR
66628139d1 Add changes to compile more plugins with MSVC 2017-05-17 23:42:22 +02:00
pancake
ec9967e684 Remove unused variable in gnu arm disassembler 2017-05-15 22:06:56 +02:00
pancake
72433d1465 Add support for setend ARM instruction 2017-05-15 16:53:08 +02:00
pancake
0361dd09cb Fixes for the readme, and properly setup capstone for meson 2017-05-15 01:17:29 +02:00
pancake
478095b6e8 Fix meson build on macOS 2017-05-14 23:15:07 +02:00
SkUaTeR
9a1337512a meson.build fixes to build with MSVC 2017-05-14 23:06:00 +02:00
pancake
487cf1d703 Fix those aarch64 warnings 2017-05-13 03:00:39 +02:00
pancake
6a140bfc5b Support another main signature for PE 2017-05-13 02:14:01 +02:00
SkUaTeR
28f785daa0 MSVC compile correctly (WIP) 2017-05-13 00:42:00 +02:00
Sven Steinbauer
d2a839ff30 Error on invalid immediate for arm mov (#7479) 2017-05-12 14:04:50 +02:00
SkUaTeR
1b5a746786 add more fixes to msvc build (#7468)
* add more fixes to msvc build

* more fixes
2017-05-10 22:12:49 +02:00
pancake
ad54e9ddf1 Refix mingw32 build 2017-05-10 00:34:05 +02:00
xarkes
926f024909 Improved MSVC support (WIP) 2017-05-09 14:25:57 +02:00