Commit Graph

23844 Commits

Author SHA1 Message Date
Florian Märkl 80e29297d3
Remove unnecessary include from test/Makefile (#16386) 2020-03-31 22:59:24 +02:00
radare 6379317f57
Add LZMA-BE magic signatures ##search 2020-03-31 21:17:02 +02:00
HoundThe 657acb2f1f
Another hotfix for the Vbc/ recursion stack overflow (#16382) 2020-03-31 17:54:17 +02:00
pancake 12a925c685 Fix warnings and solve the Gitlab CI 2020-03-31 17:06:40 +02:00
Anton Kochkov 4c3524fdd2 Ignore capstone archive if downloaded 2020-03-31 23:05:09 +08:00
pancake 304bc367de Initial support for test categories and fix the windows build ##test 2020-03-31 15:58:49 +02:00
pancake 2c40d164b5 r2r new flags: -n to not run -v for version, add manpage ##tests 2020-03-31 15:58:49 +02:00
pancake 66d3ece161 Fix windows build 2020-03-31 15:58:49 +02:00
pancake c8157f65d0 Delete the r2r.v and use r2r.c ##test 2020-03-31 15:58:49 +02:00
Paul I 044947c885
r2r: handle CRLF in readline() (#16378) 2020-03-31 15:39:44 +02:00
kuqadk3 ad88c78944
Implement hex.offset config variable to hide address column from hex-dump (#16373) ##print 2020-03-31 14:44:23 +02:00
Florian Märkl e3dd6674d6
Fix Log Mode in R2R (#16379) 2020-03-31 13:47:41 +02:00
Florian Märkl e4581a68d3
Drop empty args in r2r (#16376) 2020-03-31 13:47:32 +02:00
Riccardo Schirone 38f797ae59
Fix a read out-of-bounds error by checking if there is enough data (#16374) 2020-03-31 10:22:51 +02:00
Anton Kochkov 3d22c9e151 Ignore compiled r2r 2020-03-31 11:27:11 +08:00
Florian Märkl 31f0e46f96
Add Log Mode to R2R (#16368) 2020-03-31 02:29:27 +02:00
Florian Märkl 9c8c8889f8
Check harder if jq works in R2R (#16370) 2020-03-31 02:25:02 +02:00
radare 202269c620
Autodetect dbdir in r2r.c (#16365) ##test 2020-03-30 23:32:38 +02:00
Francesco Tamagni 3f49c77ba7 Tweak arm64 ldr ESIL for var access ##anal
Tweak the esil expression for arm64 LDR in a way that
makes the local variable access detection work.
2020-03-30 22:27:07 +02:00
Khairul Kasmiran cd2715dc95 Fix interaction of ob with o: 2020-03-30 19:40:57 +02:00
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