Commit Graph

23812 Commits

Author SHA1 Message Date
Khairul Azhar Kasmiran ea0245c908
Add test for o: (#16349) 2020-03-29 21:01:53 +02:00
Florian Märkl b9538189cf
Escape broken UTF-8 in Filename (#16351) 2020-03-29 21:00:17 +02:00
Florian Märkl 2c7ecc9736
Even more R2R (#16348)
* Fix r2r without FILE
* Fix many tests for r2r-c
* Pipe stdin in r2r to make isatty() return false
* Fix a leak in r2r
* Fix lock usage in RThread
* Always print stderr on failed tests
* Break broken zip tests
* Add -j arg to r2r
* Temporarily disable some tests that js and v don't parse
* Fix ar= trailing newline
2020-03-29 18:07:44 +02:00
Florian Märkl a88ec62304
Fix the fatmach0-3true writing Test (#16346) 2020-03-29 22:30:40 +08:00
Florian Märkl 141ae9d0a1
More R2R in C (#16338)
* Fix r2r coverities (Fix #16330)
* Fix SIGCHLD Handling in r2r
* Fix ARGS in r2r
* Make r2r fail on parse errors
* Support multiple files in r2r and print cmd
* Make r2r print exit status
2020-03-29 11:32:21 +02:00
Florian Märkl b8ae00a6de
Make r_str_split_duplist() thread-safe (#16341) ##util 2020-03-29 00:58:17 +01:00
Khairul Azhar Kasmiran 3c7e74f674
Fix ob 0 (#16333) 2020-03-28 17:12:15 +01:00
Florian Märkl 8f0932f8eb
Fix a null deref in ds_print_relocs() (#16339) 2020-03-28 17:11:43 +01:00
Alexis Ehret aa42a16b4e
Fix #12700 (#16332)
* Removed useless ref in .h

* Add the Super-H in anal/d
2020-03-28 06:35:53 -05:00
radare 46adf34e83
Add opaddr field in ab/abj output ##anal (#16331) 2020-03-27 18:10:52 +01:00
radare 5e4cdaaa04
Always use r_getopt, do not depend on libc (not just on windows) ##core (#16325) 2020-03-27 17:06:40 +01:00
Khairul Azhar Kasmiran 5b8f462277
Complete #16320 (#16328) 2020-03-27 14:43:53 +01:00
radare 9f35d62018
Improve noreturn and aesu times, show it in afi & afij ##anal (#16324)
* Fix fcn->is_noreturn cache and add tests
2020-03-27 06:15:47 +01:00
Florian Märkl 04e257bd47
R2R in C Enhancements (#16310) ##test
* Skip extras dirs in r2r by default
* Fix BROKEN loading in r2r
* Print actual diff in r2r-c
* Fix some tests for r2r-c
* Do not require stdout if not specified in r2r-c
* Address most review comments
2020-03-27 06:13:41 +01:00
radare d410ceacc7
Fix #16308 - Add fcn arg in r_core_anal_propagate_noreturn to avoid O(n) in af ##anal 2020-03-27 05:31:23 +01:00
Anton Kochkov 3601cfad49
Build *.deb packages only for master branch (#16320) ##build 2020-03-27 02:02:51 +01:00
Zi Fan fec0aea039
Decouple shlr/gdb registers profile from code (#16312) ##debug
* Sync r2 debugger registers profile with shlr/gdb
* Add new set_reg_profile function to r_debug plugin
* Add set_reg_profile to r_debug_plugin_gdb
* Change "drp" to sync r_debug plugin register profile
* Fix incorrect pointer arithmetic and code style
2020-03-27 02:00:27 +01:00
Alexis Ehret 9369ab8ebe
Use pj in zj (#16321) ##json 2020-03-27 01:44:14 +01:00
Khairul Azhar Kasmiran 5241ef59b6
Upgrade to node-r2r 0.5.0 and add relevant tests (#16319) 2020-03-26 15:42:59 +01:00
aar0nge cb8b683758
Fix #16303 - c->table_query double free (#16318) 2020-03-26 12:28:50 +01:00
philoinovsky ced0223c7a
Fix unmatched array length in core_java.c (issue #16304) (#16313) 2020-03-26 12:02:43 +01:00
Khairulmizam Samsudin 80f59a7c5f
Fix dmht for glibc caused by wrong tcache offset and definition (#16247)
* Add new function to obtain tcache chunk size

* Fix tcache address and offset in print_tcache_instance()

* Fix tcache_perthread_struct definition

* Update fc_offset to actual size of tcache

* Add test

* Rename test bin filename
2020-03-26 00:27:36 -05:00
radare 601f6983a9
Use pj in ilj ##json (#16311) 2020-03-25 23:37:04 +01:00
radare 8758fa6b40
Remove the --without-r2r configure flag (#16300) 2020-03-25 21:41:26 +01:00
Khairul Azhar Kasmiran e784aea29e
Fix dmh/dmha test (#16309) 2020-03-25 18:23:59 +01:00
pancake 6af14d7a80 Fix coverity 2020-03-25 13:00:27 +01:00
gur111 a09b33a512
Fix cursor visibility after leaving visual graph (#16298) ##visual 2020-03-25 12:40:15 +01:00
Khairulmizam Samsudin 4a5161e454
Test dmha/dmh for glibc x64 (#16307)
* Minor printing fix
* Test for dmh/dmha
2020-03-25 17:43:57 +08:00
Aung Khant Ko 9374e9a1cb
Fix #16214 - segfault in =+ command 2020-03-25 10:21:25 +01:00
Sylvain Pelissier 3959e8eabb
Update yara test (#16279)
* Add yara test for scan and update scanS
2020-03-25 16:29:17 +08:00
radare a98f662c9c
Fix ao~bytes and add test ##anal (#16299) 2020-03-24 23:11:48 +01:00
Florian Märkl 79fcf4fbff
Initial Implementation of R2R in C (#16216) ##test 2020-03-24 20:18:16 +01:00
Riccardo Schirone 0cd90b6b7e Update radare2-shell-parser for new macro syntax and fix tests 2020-03-24 15:23:35 +01:00
Riccardo Schirone e82f738370 Use r_core_cmd_str_pipe when the cmd_substitution has ! 2020-03-24 15:23:35 +01:00
Riccardo Schirone 8a8a579c35 Fix RConfigHold in case the same key is set two times
Before this patch, if you temporarily change the same variable two
times, the second time it will store the new value, which may be
restored later instead of the actual original one.
2020-03-24 15:23:35 +01:00
radare a554326013
Minor cleanup in the dex parser (#16295) 2020-03-24 15:18:55 +01:00
Khairulmizam Samsudin d103f06f38
Remove asm.linesup (#16293) 2020-03-24 15:18:39 +01:00
Florian Märkl fe825ca055
Use r_core_cmd_lines() for -c (#16290) ##core 2020-03-24 15:17:20 +01:00
radare c3dee9332c
Use @{} instead of @() and fix this modifier ##core (#16292) 2020-03-24 11:05:22 +01:00
karliss 6ba87ea7cf
Don't use r2 shell commands to implemnt an. (#16280)
* Add basic tests for an.
2020-03-23 17:38:33 +01:00
Khairul Azhar Kasmiran 765dfc1ccc
Unbreak pDJ and pdJ json tests (#16288) 2020-03-23 16:26:30 +01:00
Khairulmizam Samsudin 2e85324bba
Minor fix to get dmh to work with riomap (#16286) ##debug 2020-03-23 16:25:55 +01:00
philoinovsky 27d46d911f
Update DEVELOPERS.md (#16289) 2020-03-23 16:25:27 +01:00
philoinovsky 4a0e52b3b1 Update README.md 2020-03-23 13:14:56 +01:00
pancake 14977a6828 Improve aef by skipping calls and improving the logic ##anal 2020-03-23 09:26:20 +01:00
pancake 32b39e89cb Improve aeg command and add aaef as an alias for aef@@@F ##anal 2020-03-23 09:26:20 +01:00
pancake 32580864ff Code cleanup and refactoring for analysis 2020-03-23 09:26:20 +01:00
Aung Khant Ko 21b5aed83e
Fix #16251 - r2 command from inside r2 works again (#16282) 2020-03-23 02:09:48 +01:00
radare 57779aa273
Fix #16265 - Segfault in rabin2 -O e/123 with ELF ##bin 2020-03-23 02:08:17 +01:00
Khairul Azhar Kasmiran 537a811f0f
Unbreak /wj and tfj json tests (#16277) 2020-03-22 14:34:17 +01:00