1871 Commits

Author SHA1 Message Date
Riccardo Schirone
c09ba158fe
sync sdb and adapt r2 codebase (#11953)
add improvements of SdbHt from sdb
2018-10-26 15:54:32 +02:00
pancake
4c6aca5cd7 Add io.r2web, io.r2pipe, fs.io and debug.io for iOS ##build 2018-10-22 01:40:35 +02:00
pancake
a242f56f76 Fix static build 2018-10-15 21:43:37 +02:00
pancake
3ccc90d4de Aim to fix googlefuzz static build failure 2018-10-12 15:52:57 +02:00
Riccardo Schirone
d6aab51c2b WIP: gcc8 warnings (#11795)
* arch/ebc: fix style and remove gcc8 warnings
* parse/parse_ppc_pseudo: fix gcc8 warnings
* parse/parse_mips_pseudo: fix gcc8 warnings
* anal/esil: fix strncat usage
* shlr/tcc: fix snprintf usage
* parse/parse_dalvik_pseudo: fix sprintf -> snprintf
* lang/vala: fix gcc8 warnings
* core/vmenus: fix snprintf usage
2018-10-12 12:17:29 +02:00
David CARLIER
7995271176 Fix few code paths. (#11792) 2018-10-12 00:10:07 +02:00
Riccardo Schirone
6fc262b3c1 asm/asm: fix ht DupValue function signature 2018-10-11 09:53:22 +02:00
Riccardo Schirone
ab4578a546
remove random warnings when compiling (#11767)
* remove random warnings when compiling

* debug_native: provide r_debug_handle_signals on windows
2018-10-08 13:21:50 +02:00
pancake
305be74a8c Implement tej to print enums in json 2018-10-07 02:11:13 +02:00
David CARLIER
036db696d1 Fix couple of leaks. (#11716) 2018-10-02 15:24:27 +02:00
pancake
92f5af1e79 Upgrade to the latest Sdb 2018-10-02 05:18:39 +02:00
radare
9e9dd12a4c Delete nowarn (#11694)
* NYI means not-yet-implemented
* Kill file.nowarn configuration variable
2018-10-01 15:55:08 +08:00
pancake
883abe417f Drop # from addresses, generalize the arm anal hacks and add more descriptions 2018-09-29 22:03:56 -04:00
pancake
09400d4532 Add initial documentation for PAC instructions 2018-09-29 21:14:23 -04:00
pancake
2582b36a77 Drop comments from arm.gnu and fix the warnings 2018-09-29 07:39:00 -07:00
pancake
87a8b72f4c Drop comments for arm.gnu 2018-09-29 07:30:17 -07:00
radare
91e9ee3293
Upgrade arm.gnu disassembler to support ARMv8.3 (#11691) 2018-09-29 07:24:39 -07:00
Neven Sajko
79ddc72bba libr/asm/arch/msp430: optimize some array lengths (#11643)
Also kills MSP430_INSTR_MAXLEN, fixes cmd->operands being uninitialized
in the case of an invalid opcode.
2018-09-27 14:23:29 -07:00
Khairul Kasmiran
d04e888251 Move R_MIN inside R_MAX (#11638) 2018-09-25 17:42:27 +08:00
Anton Kochkov
ac16313fc7
r_asm_disassemble() move the len check 2018-09-25 12:45:42 +08:00
Khairul Azhar Kasmiran
f544b96c6a Fix #11400 - Truncate insn bytes that go off binary's end (#11638) 2018-09-25 12:43:14 +08:00
radare
e611921d82 Remove the subarch callback from the RAsmPlugin (#11641) 2018-09-25 12:40:18 +08:00
Neven Sajko
79f6f17eca libr/asm/arch/msp430: Remove unused function param (#11644) 2018-09-25 12:39:17 +08:00
Paul I
6c146ebf90 Fix GNU-based RAsm plugins to use RStrBuf API properly (#11625) 2018-09-23 12:13:34 +02:00
Khairul Azhar Kasmiran
a9d085ce23 Fix #11434: Correctly show bytes for invalid opcodes (#11612) 2018-09-21 17:26:49 +02:00
Anton Kochkov
b56c4862eb
Fix Xtensa RStrBuf (#11606) 2018-09-21 19:55:40 +08:00
radare
c8fbb88e01
Fixes for arm.gnu (thanks ubsan and rstrbuf) (#11600) 2018-09-21 02:18:39 +02:00
Paul I
bf29250ddd Fix #11487 (#11534) 2018-09-15 22:52:12 +02:00
pancake
885f9efeb0 Fix last covs and add $e{} in RNumCallback 2018-09-13 11:16:27 +02:00
Neven Sajko
4a722e80d8 Add braces to if, else, for, while ... (#11504) 2018-09-13 10:17:26 +02:00
pancake
f90b534a4d Fix several bugs introduced during r2con 2018-09-10 16:33:29 +02:00
Paolo Monti
8dd9045eaf Fixing assembly of inc/dec (#11466)
* Some initial fixes

* Better fix

* More support for inc and dec assembly

* Fix 32 bits stuff
2018-09-10 10:32:12 +02:00
Giovanni
1dbdabf83c C-Sky and MCore support for r2 (#11448) 2018-09-08 19:52:33 +02:00
Paolo Monti
bef42b22b3 Fix #11040 (#11409)
* Fix rex prefix for mov reg,reg
* Fixed overwriting of a->bits
2018-09-07 11:38:38 +02:00
radare
d86ddacca9
Fix #11401 - Fix buffer overflow in ARC disassembler (#11405) 2018-09-05 19:30:08 +02:00
David CARLIER
89d6b8138c Fix couple of minor issues. (#11388) 2018-09-05 11:01:07 +02:00
Khairul Azhar Kasmiran
e8a4606cc6 x86.nz: dest size for mov [reg], imm is reg size (#11375) 2018-09-03 23:45:43 +02:00
Riccardo Schirone
c610b85209
asm/asm_x86_nz: fix "rep" instructions (#11373) 2018-09-03 18:03:27 +02:00
radare
f75a4bcd5d
Fix #10910 - Fix 'str r0, [r0]' (as well as ldr) (#11355) 2018-09-03 11:17:23 +02:00
pancake
31e7948c28 Fix #11363 - Make ~... work with dos-style line-breaks 2018-09-03 10:37:35 +02:00
Riccardo Schirone
eee1385466
Meson private (#11331)
* meson: refactor library cflags
* meson: use visibility=hidden by default
* remove unused var
* magic/meson: replace tabs with spaces
2018-09-03 10:07:28 +02:00
Paolo Monti
09bb58bcc2 Fix #9925 - Initial fix of inc/add x86.nz assembler (#11356) 2018-09-02 23:43:00 +02:00
pancake
943ab3fc0c Fix #10195 - Fix 'rol byte[mem],imm' assemble 2018-09-02 18:31:34 +02:00
Neven Sajko
d8784641ee Add parentheses in macros where needed for safety (#11290) 2018-08-30 13:16:50 +02:00
David CARLIER
892bd97e51 Fix #11275 - wasm read stack overflow (#11295) 2018-08-30 13:13:18 +02:00
pancake
d60f94fa58 Add missing r_asm_op_get_buf 2018-08-28 14:12:20 +02:00
Fangrui Song
e2df259a8e Fix some warnings (#11271) 2018-08-27 09:16:29 +02:00
pancake
6b31a30ce6 Implement support to encode 'dex [16bitreg]' in x86.nz 2018-08-25 13:58:40 +02:00
radare
44627091d3
Fix memleaks in radare2.c (#11221) 2018-08-24 00:20:08 +02:00
David CARLIER
7291666948 Fix #11184 attempt. (#11216) 2018-08-23 14:43:35 +02:00