56 Commits

Author SHA1 Message Date
radare
69b6281a64
Fix #15002 - Propagate write error issues into RCore.patch ##io (#15029) 2019-09-13 18:28:26 +02:00
radare
48e4417646
Make -m do an implicit -s ##core (#15028) 2019-09-13 15:49:09 +02:00
pancake
e5ab37483c Fix #14898 - Show warning when -B used on unknown binaries ##bin 2019-08-29 19:29:52 +02:00
pancake
a228c9297b Implement 'cols' RTable.query to filter by column names ##print
* r_str_split_list() rewritten to support nth limit

r2 -qq -c 'aac;aflt size/gt/200,addr/cols/name/nbbs,nbbs/sort/inc' /bin/ls
2019-08-28 23:25:31 +02:00
radare
17a9f66900
Add support for io-plugin initialization via null system command =! (#14915) ##io
* Useful for r2frida to automatically run .=!i*
2019-08-28 02:34:59 +02:00
dodococo
64c01578a2 Fixes #14900: xdot type commands functional now (#14902)
* Fixes #14900: xdot type commands functional now
2019-08-27 11:00:28 +08:00
dodococo
e4556d3071 Fixes #14845: Use unicode settings in radiff2 (#14884)
* Fixes #14845: Use unicode settings in radiff2

* Fixed indent

* Tame vayour
2019-08-24 22:42:35 +08:00
dodococo
314ff0e19d Fixes ##14834 fix = breaking term config (#14881) 2019-08-24 11:18:32 +02:00
pancake
65ab06e124 Fix segfault in r_main_free 2019-08-22 20:04:46 +02:00
radare
20326afb9b
Support 0X as an alias for 0x in numbers ##core (#14842) 2019-08-19 00:48:45 +02:00
GustavoLCR
d38084fa9e Fix coredump PC not being considered (again) (#14836) 2019-08-18 22:44:41 +02:00
dodococo
70ada267ff AGraph integration with radiff2 ##diff (#14831) 2019-08-18 17:17:44 +02:00
Brenton Morris
497717bb15 Add ROP chain execution support in ragg2 ##rop (#13609) 2019-08-18 01:55:38 +02:00
radare
c93c094c40
Fix android-static ##build 2019-08-01 04:39:40 +02:00
karliss
7592fa52a9 Fix memory leaks part 2 (#14720) 2019-07-31 23:33:04 +02:00
radare
711b00ecad
Fix support for Swift5 demangling via bin.demanglecmd ##bin (#14639)
* Tested on rabin2 -D and iD command
2019-07-24 23:32:49 +02:00
pancake
718698d450 Fixes for the android compilations ##build 2019-07-18 11:46:06 +02:00
radare
d34ee687d6
Initial implementation of calling the r*2 commands natively from inside r2 ##core
(still far from complete but we need to go forward and kill all the globals \o/)
PD: the broken test is because initializing RCons twice
2019-07-10 18:45:20 +02:00
pancake
c14e235e0f Add -qq to force quit. Avoid the -qcq confusion ##core 2019-07-02 03:24:37 +02:00
radare
3442eb4542
Add r2 iw and rabin2 -w to enumerate try/catch blocks ##bin 2019-06-29 01:45:44 +02:00
pancake
9b7dcd30a9 Simplify RConfig.eval and improve e with e, for csv ##core 2019-06-20 10:30:52 +02:00
Anton Kochkov
20e19d6023 More spelling fixes in the code 2019-06-20 13:36:02 +08:00
radare
4dbe1453f5
Initial cleanup in RParse, delete mreplace plugin ##disasm
* Also voidify and boolify anal, parse, cons, bin, ..
2019-06-17 02:23:58 +02:00
radare
e1c329cd8d
Add -O a/l/ for macho to add libraries ##bin (#14306) 2019-06-16 09:16:02 +02:00
pancake
84564f54da Fix build and add snprintf_chk function signature 2019-06-07 04:20:56 +02:00
Khairul Azhar Kasmiran
3aed0e88d5 Default to scr.color=COLOR_MODE_16 for Alacritty on Windows ##cons 2019-05-27 18:21:17 +02:00
radare
a875795bb5
Completely eliminate the bytes apis in RBin ##bin
* Huge bytes->buffer on almost all the plugins, break API and ABI \o/
* Changed the way RBinFiles are created
* Changed the structure of the Sdb instance
* Improve ELF and MZ detection mechanisms to reduce false positives
* Change all the free/destroy methods to return void
* Fix "ks" shell
* Simplify and change the way RBinWrite apis work
2019-05-27 18:18:01 +02:00
pancake
736ebdee33 Fix null deref in rasm2 -L 2019-05-21 18:26:47 +02:00
radare
37f7052805
Handle DEX files with no entrypoint properly ##bin 2019-05-16 19:09:47 +02:00
Riccardo Schirone
66f7403245 Rewrite the RBuffer API to make it safer and adjust the codebase ##refactor (#13656)
* Reimplement r_buf_fread/fwrite
* Add slice buffer and introduce readonly field
* Do nothing if size is 0
* Prevents an overflow when 8 is subtracted from size.
* Fix ragg2 when patching outside currently existing buffer
* Implement r_mem_mmap_resize for systems where mremap is not defined
* r_buf_buffer can be called with no size arg as well
* Use size_t instead of ut64
2019-05-15 15:34:06 +02:00
Khairul Azhar Kasmiran
8d2b16d74f r_str_prefix() -> r_str_prepend() (#14048) 2019-05-13 16:16:13 +02:00
radare
7d158e443b
Fix #13988 - Add JSON output format to rafind2 ##search 2019-05-11 18:41:59 +02:00
pancake
32f6bfd46c Honor the entry0 flag and other bug fixes 2019-05-10 12:41:11 +02:00
pancake
2b90433bee Fix crash in -n 2019-05-10 12:14:25 +02:00
pancake
a59b8131a5 Seek to the first executable section if there's no entrypoint ##bin 2019-05-10 11:27:39 +02:00
pancake
affeb0de5f Initial rework towards bringing back remoting commands ##sync 2019-05-06 11:31:32 +02:00
radare
bd4b91e8eb
Fix rahash2 -B and -b regression not printing partial hashes ##bin 2019-05-05 12:52:02 +02:00
pancake
cf16cf4cd1 Add 'oba [addr] [baddr]' command handler when m != b ##bin 2019-04-18 13:16:58 +02:00
GustavoLCR
38bdc772ce Fix coredump PC not being considered (#13793) 2019-04-17 11:49:28 +02:00
Mert Degirmenci
23885d9a06 Add scr.confirmquit to actually "Confirm on quit" ##core 2019-04-16 13:45:36 +02:00
Riccardo Schirone
820e3dbe73
Improve r_buf_buffer and remove r_buf_get_at (#13676)
* Make r_buf_buffer return a ut8 and the associated size of the buffer
* Remove r_buf_get_at uses and make it static
2019-04-15 13:24:15 +02:00
pancake
4473f40533 Add version information to libr_main 2019-04-08 16:31:21 +02:00
radare
1125bf7476
Initial import of the WIP zdiff algorithm ##diff 2019-04-05 15:34:43 +02:00
pancake
4cae6b6558 Fix Android build and a lonely warning 2019-04-02 15:50:19 +02:00
pancake
439f6d3ae8 Fix help message for rabin2 -h | grep str.filter 2019-04-01 01:18:47 +02:00
David CARLIER
ad13e09b11 Fix some warnings and remove unused code 2019-03-30 21:24:21 +01:00
radare
97db085479
Fix #13541 - Automatic radiff2 -p when no bininfo is found ##diff 2019-03-29 13:03:17 +01:00
Mikael Modin
aa07738c10 Fix #13363 - Remove URI handler before looking for auxillary script ##debug
When using debugger the file assumed path for the auxillary script
was dbg://<binary path>.r2, without debugger it's just <binary path>.r2.

This patch cuts out the 'dbg://' prefix if found before looking for the
auxillary script.
2019-03-27 01:33:48 +01:00
Riccardo Schirone
3f4580b031
Make buf field private in RBuffer (#13473)
* Fix pemixed build (and include it in meson build)
* Do not use base_priv in yank, it was wrongly used.
2019-03-26 20:32:53 +01:00
Giovanni
8058018973 Fix #11133 - Remove buf_hex frield from RAsmOp ##refactor 2019-03-26 12:50:13 +01:00