cyanpencil
ebc9cf809d
Fix 1394098 resource leak in asm.c
2018-07-17 00:59:16 +02:00
Riccardo Schirone
02f9ddefd1
plugins on meson build ( #10716 )
...
* asm: use path macros whenever possible
* meson.build: sync asm and bin plugins with Makefile
* shlr/meson.build: apply capstone patches
2018-07-13 18:19:56 +02:00
pancake
78319e77b3
Honor dir.prefix in asm.opcodes
2018-06-05 16:01:23 +02:00
pancake
be89180e7b
Cleaning up asn1 apis, standarize IS_* apis and some more cleanup
2018-05-21 22:13:07 +02:00
Paul I
5180e0220f
Add R2_PLUGINS, R2_EXTRAS, R2_BINDINGS macros ( #9994 )
2018-05-02 15:58:14 +02:00
Paul I
cc90ec6be5
[WIP] Move hardcoded paths to r_userconf.h ( #9959 )
...
* Move hardcoded paths to r_userconf.h
* Add R2_HOME_* macros
* Some cleanup
2018-04-28 10:02:55 +02:00
radare
a0348bb1b5
Fix #9915 - crash in r_hex_bin2str from asm.c ( #9922 )
2018-04-18 13:23:03 +02:00
pancake
a880699409
Fix #9725 - Fix oobread overflow in disasm loop
2018-03-21 16:23:48 +01:00
pancake
0e372b9041
Make ,, an alias for \n in RAsm.massemble to make wa/pa nicer to use
2018-02-20 21:55:00 +01:00
pancake
05915305a0
Fix build
2018-02-09 12:10:35 +01:00
pancake
6ba461f1c1
Fix memleak in massemble
2018-02-06 14:34:41 +01:00
Sven Steinbauer
adc13ded07
Fix #6512 - Implemented .incbin
...
* User RBuf for storing incbin data
The incbin data is stored in an rbuffer and then appended to the output
which is reallocated to allow for addition of the inc data.
Refactoring buf_hex to be an rbuffer is ideal, but would need
refactoring in multiple places in the future.
2018-01-31 11:19:29 +01:00
pancake
5642883db9
Initial rework of sysregs
2018-01-24 15:12:33 +01:00
pancake
31d550a54b
Introduce r_sys_prefix
2018-01-16 11:58:47 +01:00
pancake
303820dbac
Initial purge of R2_PREFIX towards dir.prefix
2018-01-16 11:13:21 +01:00
pancake
335938be58
r_str_chop -> r_str_trim
2018-01-08 03:22:26 +01:00
josediazfer
2328c5d31f
Fix serveral leaks ( #8606 )
2017-09-28 16:32:54 +02:00
Fangrui Song
e472e74b9d
Move {RAsm,RAnal}::addrbytes to RIO::addrbytes, delete asm.addrbytes and make cLEMENCy work again ( #8432 )
2017-09-04 21:41:09 +02:00
Fangrui Song
277ea0dcb4
Fix memory leak in rasm2 by moving ownership of syscall from RAnal to RAsm
...
- Move null chk into the r_syscall_free
2017-08-29 12:42:49 +02:00
pancake
3f94f69e60
Enhance error checking in om and avoid adding the same map twice
2017-08-26 23:33:27 +02:00
Giovanni
6fe6564b8d
Fixed 8 coverity bugs ( #8305 )
...
* 1372278 Identical code for different branches
* 1372276 Dereference after null check
* 1372273 Logically dead code
DEAD CODE. i must be between 1 and 9.
* 1372272 Logically dead code
At condition 64U - slen > 64U, the value of slen must be between 1 and 63.
At condition 64U - slen > 64U, the value of slen cannot be equal to 0.
The condition 64U - slen > 64U cannot be true.
* 1372265 Dereference after null check
* 1372264 Logically dead code
* 1372262 Logically dead code
* 1372258 Logically dead code
* 1372257 Unchecked return value
2017-08-25 18:12:12 +02:00
Fangrui Song
beba22e6c7
Fix backward disassembler when len > addr and support asm.addrbytes ( #8145 )
2017-08-08 18:25:44 +02:00
Fangrui Song
f91e3d259c
Add asm.addrbytes
eval config var to make one vaddr unit use more than 1 bytes ( #8121 )
...
* Add `asm.addrbytes` eval config var to make one vaddr unit use more than 1 bytes
* Use `asm.addrbytes` in anal/disasm
2017-08-05 12:20:17 +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
Sven Steinbauer
4dd740ebf2
Add rasm -r option honor flags and seeks
2017-05-30 13:19:21 +02:00
pancake
6758e3753d
Remove configure-plugins dependency for the make meson
2017-05-26 02:43:53 +02:00
Marc
ae1aef88b9
Add align info in payloads #7376 ( #7574 )
2017-05-23 03:01:45 +02:00
pancake
0361dd09cb
Fixes for the readme, and properly setup capstone for meson
2017-05-15 01:17:29 +02:00
alvarofe
42fb071d4b
Fix #7198 - static code analysis by AppChecker
2017-04-02 12:22:04 +02:00
Thomas Ilsche
1a72b58daa
fix NULL deref on failed strbuf_new and memory leak in r_asm_mdisassemble ( #7163 )
2017-03-29 00:44:36 +02:00
pancake
d6756e235c
Implement author and version of RAsmPlugin
2017-02-28 02:26:55 +01:00
SchumBlubBlub
6c00c9e2d5
Reorganize string macros
2017-02-06 00:00:03 +01:00
pancake
196c800b87
Implement svc instruction for the arm64 assembler
2017-01-29 02:36:44 +01:00
Álvaro Felipe Melchor
088c13ddad
Fix UAF in cb_asmarch
2017-01-25 23:20:20 +01:00
Sven Steinbauer
658241f038
Fix spp directive replacement
2017-01-17 15:24:04 +00:00
Sven Steinbauer
4687135c5b
Add asm directives help (-hh) and update manpage
2017-01-16 12:03:06 +01:00
Sven Steinbauer
4fe5d34b44
Add comment for r_asm_from_string
2017-01-10 12:27:09 +00:00
Sven Steinbauer
58252b4cc2
Fix #6356 - Move spp integration to libr/asm.c
...
* Make spp parsing optional
* Add -p arg to rasm2
2017-01-10 00:57:49 +01:00
pancake
130c22fc49
XOR assemble for x86.nz requires 2 parameters
2016-12-26 02:20:57 +01:00
Álvaro Felipe Melchor
1a05aecaa4
Fix uaf in bin_dex.c and oob write in pi with dex
2016-12-19 19:41:10 +01:00
pancake
23cb88355d
Remove global code_align into RAsmCode
2016-11-16 01:24:09 +01:00
Álvaro Felipe Melchor
3222447eab
Fix warnings when compiling in linux
2016-11-08 01:58:07 +01:00
Álvaro Felipe Melchor
601bd60e4d
refix r_asm_set_big_endian
2016-11-03 13:47:51 +01:00
Álvaro Felipe Melchor
53655fd3c2
fix regression
2016-11-03 13:42:37 +01:00
pancake
2e23217ccd
Add support for .endian rasm2 directive
2016-11-03 12:49:16 +01:00
pancake
cb1f0c79ce
Support /**/ in a single line
2016-11-03 12:32:50 +01:00
pancake
0fb0a170d2
Fix /**/ comments in rasm2
2016-11-03 12:29:08 +01:00
pancake
90fcf76623
Initial support for .align in rasm2
2016-11-03 12:01:54 +01:00