Commit Graph

762 Commits

Author SHA1 Message Date
Giovanni
e46939eb4f merged fixes from contributor to libvle (#9380) 2018-02-12 16:09:19 +01:00
Giuseppe
1e9bce4a8d Fix #9197 - aarch64 ldur instruction was missing (#9372) 2018-02-11 20:44:52 +01:00
Michael Scherer
b35f936b73 Fix first parameter position for CLZ asm code (#9364)
Fix error in 4b74942
2018-02-10 20:44:08 +01:00
Michael Scherer
4b7494252e Add CLZ instruction to rasm2 (#9363)
Partially fix #7250
2018-02-10 19:24:34 +01:00
Sven Steinbauer
1b60dbd9e2 Correctly assemble blx for arm32 and arm16 (#9352)
FIX #9319

Tests added to r2r master
2018-02-09 15:27:39 +01:00
Anton Kochkov
56e5012142 Fix hexagon duplexes recognition 2018-02-06 12:51:53 +08:00
Anton Kochkov
129b1ced20 Fix GCC parentheses warnings 2018-02-06 12:47:38 +08:00
Anton Kochkov
1b73ae0777
Fix Hexagon OOB problem 2018-02-05 18:50:11 +08:00
Anton Kochkov
a3153a4801
Fix Hexagon OOB problem 2018-02-05 18:39:46 +08:00
Anton Kochkov
efcc2bef68 Hexagon QDSP6 v6 support - LGPLv3 (#9289) 2018-02-02 13:10:40 +01:00
Sven Steinbauer
d304cef875 Add support for mul ops (#9281) 2018-02-01 15:38:25 +01:00
fenugrec
a010d09204 sh: fix disassembly of branch opcodes (#9238)
The displacement field must be sign-extended and multiplied by 2, not
cast to an unsigned type !
2018-01-25 16:25:00 +01:00
Giovanni
9a63f43d01 Fixed illegal access on libps (#9192) 2018-01-14 17:55:05 +01:00
wargio
ddb5fd0575 fixed bad load/store for ppc:ps 2018-01-14 10:18:39 +01:00
Giovanni
f32cc2777a added ppc Paired single (#9172) 2018-01-11 14:07:30 +01:00
pancake
c1ef0d7580 Fix dsb, dmb regressions 2018-01-07 13:54:38 +01:00
pancake
1bc0fcdea5 Implement isb, dsb and dmb for the arm64 assembler 2018-01-05 00:45:50 +01:00
pancake
1d7f75fb91 Fix non-null terminated string issue in 8051 disassembler 2018-01-04 18:39:17 +01:00
Florian Märkl
f862b90d4a Add PIC Baseline ASM Plugin 2018-01-02 18:18:42 +01:00
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