Commit Graph

743 Commits

Author SHA1 Message Date
Anton Kochkov
1b8ab5f7cf WASM analysis - initial stub (#9091) 2017-12-29 19:56:33 +01:00
Adrian Studer
f36f165312 Substitute 8051 register names (#9072) 2017-12-28 00:36:41 +01:00
Giovanni
83d6067db9 fixed wrong output (#8908) 2017-11-29 04:16:12 +01:00
Fedor Sakharov
881e797e8b We are moving EVM to radare2-extras 2017-11-21 01:31:05 +01:00
pancake
52b1526443 Fix crash in wasm disassembler 2017-10-11 19:02:25 +02:00
Pepe Vila
5c3cdb44d5 Fixed coverity errors (#8595) 2017-09-30 10:50:14 +02:00
pancake
f805d0672a Fix warnings 2017-09-17 23:27:43 +02:00
pancake
9bc246c5e9 Fix riscv again :( 2017-09-17 23:14:34 +02:00
pancake
ef201b6c92 Fix riscv disassembler for 2 byte buffer as input 2017-09-17 22:58:13 +02:00
Pepe Vila
cbbe87bf3f Wasm fixes (#8492) 2017-09-13 08:51:23 +02:00
Sven Steinbauer
baf9027548 Add ldp op to arm64 (#8491) 2017-09-12 18:16:24 +02:00
Sven Steinbauer
d09adae6d2 Add arm64 stp instruction (#8490) 2017-09-12 17:29:39 +02:00
Giovanni
2740763886 Merging all cov fixes (#8377)
* 1356272 Resource leak
* 1356452,1356450 Resource leak
* flavour + strdup and fixed mistake
* 1361500 Resource leak
* 1360784 Resource leak
* 1367821 Resource leak
* removed missing allocated vars
2017-08-29 13:15:47 +02:00
pancake
306adb7a50 Fix for the whitespace disassembler 2017-08-26 12:56:14 +02:00
Giovanni
7b40f7aed1 16 more bugs fixed. most are mem leaks. (#8307)
* 1379261/1379262 Resource leak

* 1379258/1379249 Resource leak

* 1379020 Resource leak

* 1351565/1351564 Logically dead code, 1379019 Uninitialized scalar variable, 1379014 Operands do not affect result

* 1379017 Resource leak

* 1379016 Resource leak

* 1379015 Resource leak

* 1377414 Resource leak

* 1376336 Resource leak

* 1375800 Resource leak

* 1373505/1373509/1373504 Resource leak

* 1373496 Resource leak
2017-08-24 17:20:39 +02:00
Giovanni
3851e7ea20 13 coverity bugs fixed. (#8303)
* 1372431 Unused value

* 1372425 Unused value

* 1372412 Dereference before null check

* 1372410/1372409 Resource leak

* 1372400 Dereference before null check

* 1372391/1372398 Resource leak

* 1372397 Dereference before null check

* 1372394 Resource leak

* 1372390 Dereference before null check

* 1372379 Dereference before null check

* 1372304 Resource leak

* 1372298: Out-of-bounds read & 1355090: Untrusted array index read

* 1372290 Dereference null return value

* 1372283 Missing break in switch

* fixed mistake.
2017-08-24 13:31:27 +02:00
Giovanni
b645c7fd1a fixed wrong check on vle that was causing some wrong output (#8254) 2017-08-22 01:12:36 +02:00
pancake
0771170ae6 Kill io.sectonly and make io.va work as expected 2017-08-19 13:26:51 +02:00
Lowly Worm
5e70e0f8b6 update incorrect FSF addresses
closes #8123
2017-08-15 22:28:30 -07:00
pancake
b5c678ff6d Fix last 3 mails of covs and some warnings 2017-08-11 13:16:19 +02:00
Sven Steinbauer
fd16338b21 Squash arm64 compiler warnings (#8179) 2017-08-10 18:34:25 +02:00
Sven Steinbauer
6c666bf142 New arm64 instruction support (#8140)
* Add cmp for reg, reg

* Add strb instruction to arm64

* Add b.eq instruction arm64

* Add byte store ops

* Add str and ldr ops
2017-08-07 13:42:46 +02:00
pancake
b6958c922e Fix #8139 - Fix null deref in format string in the LANAI disassembler 2017-08-07 12:02:50 +02:00
pancake
e358a3fe90 Fix arm64 opcode parser in armass64 2017-08-06 03:01:57 +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
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
b21fc94871 Fix segfault on arm64 brk (#8071) 2017-07-31 14:52:13 +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
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
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
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
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
Adrian Studer
c1cb93aaf8 set ptr and val to correct values (#7817) 2017-06-25 17:03:25 +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
Adrian Studer
673fa9636f Rewritten 8051 disassembler 2017-06-18 10:23:04 +02:00
pancake
54150fa3db Fix last covs 2017-06-12 11:28:54 +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