2075 Commits

Author SHA1 Message Date
Khairul Kasmiran
b5506916ed Fix #define alignment 2019-10-12 19:38:57 +08:00
condret
152ab3e94d fix mcs96 instruction length 2019-10-12 11:44:36 +02:00
GustavoLCR
9ed199d64e
Fix OOB read in 8051 assembler 2019-10-11 15:22:52 -03:00
GustavoLCR
42938ada9f
Fix heap-buffer-overflow in 8051 assembler 2019-10-11 14:37:53 -03:00
radare
681fbb0431
Some small cleanup/deprecations on asm/anal (#15248) 2019-10-11 14:25:44 +02:00
hmht
9db9050454 Fix 8051 dptr read (#15247) 2019-10-11 10:46:28 +02:00
radare
3dd2525a2f
Fix #15235 - push [mem] not handled in /r ##anal 2019-10-10 16:15:01 +02:00
dok
dc48c066c8 libr asm: arm: Fix c99 compiler error (#15228) 2019-10-08 17:44:01 +02:00
layderv
a001e7c1b6 Fix #10651 sub sp, sp, 0x1000 not correctly assembled for ARM (#15187) ##asm 2019-10-08 10:54:10 +02:00
Stefan
5a7cac99d8 Initial impl. tricore disassembler print address instead of register name (#15150) (#15207)
* Allow precompiler var RESOLVE_SFR_NAMES to be set
2019-10-06 17:33:29 +02:00
Thomas Bailleux
7144b91147 Fix #15198 (#15199) arm64 assembler const value ##asm 2019-10-06 00:57:31 +02:00
GustavoLCR
1f6ea11286 Fix windows build (#15194)
* Fix windows build
* Fix LGTM warnings
2019-10-05 11:49:26 +08:00
Paul I
01fd3d03a0 Use RStrBuf API properly in rsp asm plugin (#15192) 2019-10-04 23:08:17 +02:00
hmht
cb3cdc5500 Add 8051 assembler plugin (#15189) ##asm
Written from scratch, so it's entirely dependent on rasm2 to do the heavy
lifting, and perhaps lacking in features?

8051 syntax didn't make things easy; ampersand and pound signs caused
integration problems, requiring the rasm and regressiontest code to be patched.
2019-10-04 14:47:14 +02:00
Paweł Łukasik
fcc6f515ba Z80's LD opcodes assembly (#15185) ##asm 2019-10-04 01:27:25 +02:00
Armin Weihbold
38fb9f5171 Fix parsing of floating point instructions in x86_64 assembler (#15174) ##asm 2019-10-03 15:25:47 +02:00
Brandon Lin
7b98949e37 Fix x86 assembler output for some test ops 2019-10-02 18:51:14 +02:00
radare
54036dfbbe
Implement function-based plugin loading method ##core 2019-09-30 11:21:56 +02:00
Giovanni
f0bc779dad fixed asan report on amd29k (#15143) 2019-09-28 15:09:59 +02:00
condret
9d4b77fbd2 fix gb asm 2019-09-25 02:05:29 +02:00
pancake
f6215c16ad Fix some output from sh (gnu-dis) 2019-09-24 18:34:56 +02:00
radare
0169b9822d
Improve (change) sh4 disasm (lowercase regs...) ##disasm (#15105) 2019-09-23 11:15:23 +02:00
Paul I
5094ab44cf Meson: export sdb symbols from r_util on Windows (#15098) 2019-09-23 00:00:21 +02:00
lzutao
77831e2c04 Fix & has lower precedence than == (#15067) 2019-09-18 09:58:29 +02:00
Brandon Lin
9bf5aeb58a Fix x86 assembler output for some memory loads (#15068) ##asm
Fixes some missing/wrong operand size prefixes
and a corrects a typo in handling 64-bit offsets.
2019-09-18 09:57:40 +02:00
lkempf
44f8070e11 Fixed i4004 arch to be according to spec (#15062) 2019-09-17 15:10:51 +02:00
pancake
f3618747dd Add m680x arch support for the meson builds 2019-09-16 19:34:06 +02:00
Sylvain Pelissier
dc6427d2c2 Display operand of EBC push/pop instructions (#14949) 2019-09-02 19:44:13 +02:00
Rot127
65da67035c Syncing with r2hexagon (#14918) 2019-08-28 18:05:45 +08:00
pancake
c803bb3ed9 Add lsls and ldrh thumb asm.describes 2019-08-26 02:55:51 +02:00
GustavoLCR
56c10e0368 Add neg pseudo instruction to arm assembler (#14890) 2019-08-24 20:22:10 +02:00
pancake
8225d57eb4 Fix #14854 - Fix glitch in asm.hint.pos=0 2019-08-23 00:18:06 +02:00
Rot127
fb9fa2fb22 Fix hexagon jumps second try (#14867)
* Synchronized files with radareorg/r2hexagon
2019-08-21 19:52:02 +08:00
Giovanni
d337867999 Add support for the amd29k architecture ##disasm ##r2con2019 2019-08-19 17:28:44 +02:00
Paul I
2556919857 Add clang-cl support (#14814) 2019-08-16 12:10:00 +08:00
pancake
fd50193999 Improve ARM64 PAC instructions support ##anal
- Support for aap (function preludes with pacibsp)
- Handle LDURSW properly
- Define op->type for PAC instructions (not just family)
- Add more asm descriptions for pac instructions
2019-07-22 02:06:34 +02:00
pancake
08f094d952 Oops 2019-07-19 14:23:57 +02:00
pancake
ff8be7f5f1 Implement PAC instructions in the ARM64 assembler ##asm 2019-07-19 14:14:44 +02:00
blenk92
30f12f0183 Fix wrong assembly of jumps relative to the ESP register (#14511) 2019-07-08 10:28:17 +02:00
pancake
e20ab4bcf0 Fix trailing space issue in the GNU sh disassembler 2019-07-07 02:27:33 +02:00
Max
3acb7d3d1a Fix wrong realloc in r_asm_massemble
In line 694 a buffer of size (sizeof(char*)*32) is allocated. Later on,
this buffer is realloced to 64. This decreases the size of the allocated
buffer instead of increase. This may lead to memory corruption.
2019-07-06 01:38:07 +02:00
Martin Brunner
4eecc7ac35 Add some SuperH opcode descriptions ##disasm
Notes:
* SH opcodes array, file libr/asm/arch/sh/gnu/sh-dis.c from GNU binutils, defines "bf.s" and "bf/s", same with "bt.s" and "bt/s".
* Both pairs are identical, e.g. bt.s and bt/s mean the same thing.
* As *.s variants come first in the table, radare and binutils-objdump print bf.s and bt.s names.
* Still true for latest binutils (v2.32 2019-02-02).
* Renesas chip hardware manuals and IDA Pro only use bf/s and bt/s.
2019-06-24 18:50:07 +02:00
pancake
01d40a7e0f Avoid printing nulls on invalid code or missing bin info for Dalvik ##disasm 2019-06-23 02:55:50 +02:00
Anton Kochkov
d3909cab84 Fix more grammar 2019-06-18 14:51:30 +08:00
MatejKastak
97607eeac3 Arm64: Handling of XZR registers in assembler (#14343) 2019-06-17 19:13:57 +02:00
radare
a49bb7cf66
Change the signature of r_str_trim to avoid confusions ##refactor 2019-06-16 20:58:40 +02:00
GustavoLCR
1ad0fc72dd Trim before comparing pseudo asm (#14313) 2019-06-16 18:37:42 +02:00
radare
b282620b7a
Fix #14303 - oob crash in RParse api usage, needs API redesign (#14307) 2019-06-15 13:24:00 +02:00
radare
571a080ca7
s/CORELIB/R2_PLUGIN_INCORE/g (#14295) 2019-06-13 19:12:51 +02:00
pancake
9ad57021d9 Fix #14233 - Fix 1byte oobread in wasm analysis 2019-06-07 14:30:18 +02:00