24024 Commits

Author SHA1 Message Date
pancake
513de59576 Add ic + icc* tests for objc ##tests 2020-03-30 15:31:36 +02:00
pancake
090450401f Implement tc* and fix tc glitch ##types 2020-03-30 15:31:36 +02:00
pancake
5881fcd2e1 Implement icc*, in sync with ic* to get C strcuts from mach0 classes into r2 ##bin 2020-03-30 15:31:36 +02:00
pancake
2b0962af31 Add mach0 class fields with padding and sorted by offset ##bin 2020-03-30 15:31:36 +02:00
pancake
77bd3eb05e Add NSString and size_t types in tcc+r2 ##types 2020-03-30 15:31:36 +02:00
pancake
7ff47d73be WIP: Improve ObjC's IVAR fields support ##bin 2020-03-30 15:31:36 +02:00
Alexis Ehret
1020cfb3cf
Remove the FCN_OLD sdb transition ifdefs 2020-03-30 15:14:12 +02:00
pancake
cfc1c663c3 Fix parameters order when running r2 tests 2020-03-30 15:00:26 +02:00
pancake
e4781c7820 Show execution time in r2r 2020-03-30 15:00:26 +02:00
mdolmen
1bf0fed6cc
Fix #16336 - null deref in tc (#16350) 2020-03-30 03:04:53 +02:00
luke-goddard
5fa10f1f96
Fix #16355 - null deref in Cvs command parsing (#16356) 2020-03-30 03:03:06 +02:00
Florian Märkl
2a9d7e9d44
Much more R2R (#16352)
* Add r2r to R2BINS
* Fix iSj. trailing newline
* Dedup default worker count in r2r
* Fix some more Tests
* Decide archos in r2r
* Add more args and run json tests with r2r
2020-03-29 21:04:51 +02:00
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