Commit Graph

1531 Commits

Author SHA1 Message Date
Sven Steinbauer
dcad605335 Allow for 32bit only ops in x86 (#8092) 2017-08-01 18:22:20 +02:00
Sven Steinbauer
1426a73032 Add move, bal, bgezal, and bltzal mips instructions (#8090)
* Add `move`, `bal`, `bgezal`, and `bltzal` mips instructions

* Only divide immediate on branch ops
2017-08-01 18:17:33 +02:00
Anton Kochkov
e52447c9ea NEC V850 - Initial ESIL support (#8082) 2017-08-01 14:32:52 +02:00
Marc
5da2238b7b Remove debug eprintf 2017-08-01 10:23:10 +02:00
pancake
0140bf07b3 Add some more instructions for the mips assembler 2017-08-01 06:01:52 +02:00
Marc
6aec198df7 Add DEX38 support 2017-08-01 05:00:48 +02:00
pancake
6d953c3b33 Implement adrp instruction for arm64 2017-08-01 04:35:14 +02:00
Sven Steinbauer
3f3dd45431 fixes for nz assembler (#8073) 2017-07-31 18:28:57 +02:00
Sven Steinbauer
b21fc94871 Fix segfault on arm64 brk (#8071) 2017-07-31 14:52:13 +02:00
Sven Steinbauer
10d651202f Fix bad mov op as invalid (#8065)
FIX #8007
2017-07-31 11:34:50 +02:00
SkUaTeR
e7a2f2cc8c fix a wrong definition to call GetLongPathName and fix for #8044 (#8053)
* fix a wrong definition to call GetLongPathName

* fixing ppc arch

* fixing export issue in PE files
2017-07-29 02:07:42 +02:00
Anton Kochkov
00be0a19d3 Init bitshift upon creation 2017-07-28 19:33:16 +08:00
pancake
807402e123 Fix testsuite and remove commented code 2017-07-28 04:39:20 +02:00
pancake
c33c4dae82 Initial support for bitsized disassemblers 2017-07-28 02:53:31 +02:00
pancake
abaac71290 Fix last covs 2017-07-26 18:46:29 +02:00
Anton Kochkov
41e21634ab Coverifixes (#8026) 2017-07-26 14:41:03 +08:00
Giovanni
858dfea170 Fix #6411 - pseudo for AVR (#7978)
* avr.pseudo

* tabs and flavour
2017-07-20 21:36:26 +02:00
Guillaume Valadon
ea8adc48da Use void in prototypes (#7974) 2017-07-20 14:50:13 +02:00
Guillaume Valadon
a8ad435c10 Typos fixed (#7970) 2017-07-20 10:44:43 +02:00
Fangrui Song
9ca10e175e Fix powerpc64le analysis. (#7955) 2017-07-19 14:19:51 +02:00
Sven Steinbauer
5e22336a1d Group1 op fixes for 16bit regs (#7957)
* Add support for 16bit regs for group 1 ops

* Fix other group1 ops

* Revert changed test for AL
2017-07-19 13:54:49 +02:00
pancake
770f3e752f Fix #7932 - Support relative addresses in java assembler 2017-07-17 12:17:53 +02:00
Fangrui Song
c77aba1c63 PPC: Add all instructions from Power ISA 3.0B (#7922) 2017-07-14 10:09:28 +02:00
Marc
80d4b44b2e Fix random code style issues 2017-07-13 00:46:27 +02:00
pancake
abaf84d857 Fix last pending warnings 2017-07-11 17:54:22 +02:00
Giovanni
59d6141658 Coverity patch for VLE (#7904) 2017-07-11 11:25:32 +02:00
pancake
19b41bec5c Fix last covs 2017-07-11 08:46:42 +02:00
Giovanni
326fa654fc PowerPC VLE support with capstone [anal/asm] (#7899)
* libvle + capstone to support PowerPC VLE
2017-07-10 18:06:11 +02:00
pancake
1b6cfb68bd Fix some memleaks, warnings and null derefs pointed out by clang analyzer 2017-07-10 11:20:03 +02:00
pancake
befd046c05 Implement evm assembler, simplify disassembler 2017-07-09 01:54:56 +02:00
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