Commit Graph

19781 Commits

Author SHA1 Message Date
Riccardo Schirone
3d5fac61f6 assert: use R2_ASSERT_STDOUT instead of ASSERT_STDOUT
In this way Travis script (travis-extract-var.sh) will automatically
pass the var to the docker container. Also, it makes the macro name more
consistent with all the others.
2018-10-29 16:01:26 +01:00
radare
386ac612e0
Fix googlefuzz crash caused by oob in shdr_link ##bin (#11980) 2018-10-29 15:43:13 +01:00
Riccardo Schirone
6080edf13b
Fix r_log when used for r_assert (#11971)
- Split r_log in r_vlog/r_log and make r_assert_log use r_vlog because it
needs to provide a va_list.
- Rename _r_internal_logging to r_log because that's a R_API function
and it needs a good name
- Make R2_CHECKS_LEVEL dependent on 'buildtype' option
- Make R_LOGLVL_WARN the default log level when in debug mode (default)
- introduce ASSERT_STDOUT macro to print assert failures to stdout
- use ASSERT_STDOUT in the Travis env with asan
- use list of callbacks in RLog instead of just one.
2018-10-29 11:48:12 +01:00
pancake
57e1c1eb91 Fix build 2018-10-29 10:53:35 +01:00
fcasal
9516fecbfe Close cpp #ifdef (#11974) 2018-10-28 15:53:47 +01:00
Khairul Kasmiran
09b7bfa8bc Keep related lines together 2018-10-28 13:12:13 +08:00
pancake
d6e98f2338 Implement axg* to render an xrefs graph 2018-10-28 02:25:09 +02:00
pancake
633d0bb5a2 Handle autocompletion and address argument in axg 2018-10-28 02:06:04 +02:00
davidpolverari
69286b61c6 Fix iS= assert warnings 2018-10-27 19:24:14 +02:00
Maijin
2044e2b925
Remove all Sl commands ##refactoring (#11967) 2018-10-27 17:21:33 +02:00
Riccardo Schirone
734c74932f
core: remove testing for REvent API (#11968) 2018-10-27 17:11:32 +02:00
Maijin
c592ae698b
Remove all Sr commands ##refactoring (#11966) 2018-10-27 16:10:54 +02:00
Maijin
650628d0f6
Fix #11959 remove radare1 ##fortunes
Fix #11959 remove radare1 ##fortunes
2018-10-27 14:21:38 +02:00
radare
d596677558
Fix loading of entrypoints on some huge mach0s ##bin (#11963) 2018-10-27 11:28:38 +02:00
radare
4ac547cadd
Fix #11961 - /at swi for unconditional (or cswi) ##search (#11962) 2018-10-27 11:28:16 +02:00
Aaron
a6725edb1f Fix #10324 - Implement RLog API for leveled logging ##core (#11786) 2018-10-27 05:29:22 +02:00
radare
d174f66f95
Refactoring and optimization for the RBin.language identification ##bin (#11944)
* More code cleanup and bring back bin.reload for the debugger
* Benchmark: swift: 23/9549 rcore: 17232/37147 (2-400x faster)
* For DVIA iOS app this is 1s less
* Demangle all the symbols, not just few
2018-10-27 05:01:09 +02:00
pancake
e4e0cdeffa Update some missing mach0 defines 2018-10-27 04:25:10 +02:00
pancake
9ae01a3c97 Make sys/indent.sh usable system wide and support directories 2018-10-27 03:14:48 +02:00
pancake
e31545a1a0 Revert reloc middle filter 2018-10-27 00:59:35 +02:00
Khairul Kasmiran
842eff7f82 Minor whitespace editing 2018-10-27 06:49:08 +08:00
Khairul Kasmiran
e850c723c2 Use more descriptive var name 2018-10-27 06:47:00 +08:00
Vanellope
b0d27320ab Fix the resizing algorithm of panels ##visual 2018-10-27 00:30:47 +02:00
radare
4f30ffc7d3
Add asm.section.perm and asm.section.name (#11952) 2018-10-26 23:26:32 +02:00
radare
95cd299e8b
Initial import of the REvent API ##refactor 2018-10-26 23:23:51 +02:00
Maijin
2519780a6a Remove SR commands ##refactoring 2018-10-26 22:32:30 +02:00
Khairul Azhar Kasmiran
bc22d01fb5 Fix #11919 - r_sleb128() checks for end (#11955) 2018-10-26 22:30:18 +02:00
Riccardo Schirone
c09ba158fe
sync sdb and adapt r2 codebase (#11953)
add improvements of SdbHt from sdb
2018-10-26 15:54:32 +02:00
Adrian Studer
1064853c33 Stop pdR when encountering a ret (#11930) 2018-10-26 14:43:32 +02:00
pancake
2dac50b15f Temporally disable the hud cache until the scroll is fixed 2018-10-26 14:03:41 +02:00
David CARLIER
4597224d7d Fix r2agent segfault. (#11950)
Since it s based on reference counting, it is safe to make sure the context is initialised.
2018-10-26 13:21:12 +02:00
pancake
11c02de20c Fix #11936 - Optimize RCons.hud with cache ##refactor 2018-10-26 00:58:47 +02:00
pancake
778ba010ce Fix build and start refactor of r_cons_hud() ##refactor 2018-10-26 00:24:56 +02:00
Vanellope
6479311b08 Fix help in panels ##visual (#11943) 2018-10-25 23:43:21 +02:00
Sajjad Pourali
503844ac77 Fix MacOS Mojave User Debugging Problem ##build 2018-10-25 23:42:47 +02:00
Maijin
337dd0d909
Remove Sf command ##refactoring 2018-10-25 21:20:16 +02:00
Vanellope
bbd07a2f7f Fix : command ##visual (#11940) 2018-10-25 19:40:56 +02:00
Khairul Azhar Kasmiran
351c762c54 Fix #11922 - Allocate space for sentinel too ##bin 2018-10-25 18:28:48 +02:00
radare
55fa2c91e7
Fix a crash in the OMF RBin parser ##bin (#11938) 2018-10-25 16:08:51 +02:00
radare
2420cb53d2
Kill anal.bb.align variable ##refactor 2018-10-25 15:34:09 +02:00
Vanellope
3050203ac0 Change the default panels depending on the analysis ##visual 2018-10-25 12:52:41 +02:00
Maijin
357255edbc Fix #11879 - Move aae in aaa ##anal (#11933) 2018-10-25 12:51:59 +02:00
Vanellope
3e27396b92 Deleting a panel in zoom mode breaks the whole layout and now it does not. (#11931) 2018-10-25 10:00:02 +02:00
Maijin
d5aeac178a
Add golang symbols detection in aaa Fix #10959 2018-10-25 09:45:28 +02:00
David CARLIER
da5da7b72c Lookup for golang and asan traces once ##bin 2018-10-24 18:47:29 +02:00
davidpolverari
8a22c89461 Fix #11923: Early null check in cmd_info.c iz cmd (#11928) 2018-10-24 18:46:14 +02:00
David CARLIER
45618e6231 Fix hints memory leak when analysing functions ##leaks 2018-10-24 18:45:53 +02:00
Riccardo Schirone
6115f00455
remove r_bin_load_io2 and rename MODE defines ##refactor
PR #11888 

* bin: no need for 2 r_bin_load_io APIs
* bin: remove io-related unused functions
* r_bin.h: remove some old comments
* r_bin.h: group together related APIs
* extract print/set modes in r_types, to remove dups in r_bin and r_core
* clang-format-diff: fix ternary operator indent for pancake
2018-10-24 16:54:57 +02:00
radare
744d47b5d8
Fix crash in fuzzed sega master system rom ##bin (#11921)
* clusterfuzz-testcase-minimized-ia_fuzz-5712659681378304.dms
2018-10-24 16:20:46 +02:00
pancake
3a7a7ba789 Fix ELF crash in clusterfuzz-testcase-minimized-ia_fuzz-6065450650697728.dms 2018-10-24 13:26:21 +02:00