Commit Graph

8706 Commits

Author SHA1 Message Date
pancake
3738a97623 Fix several asserts and crashes when loading invalid reg profiles 2018-11-05 16:55:34 +01:00
radare
de309af4d6
Another minor cleanup in RBin and add R_TIME helpers 2018-11-05 16:38:41 +01:00
pancake
0b8c850869 Add new axff command (xrefs from function) ##anal 2018-11-05 12:08:27 +01:00
Stefan Ilic
4e8eed0158 RBinSection now lives in the heap ##refactor 2018-11-05 11:52:40 +01:00
Khairul Azhar Kasmiran
3facb9cd15 Check addrs 1-by-1 in pdf sparse code ##analysis 2018-11-05 10:14:31 +01:00
Khairul Azhar Kasmiran
a0844ef2c3 Honor anal.jmpmid in r_anal_fcn_bbget_in (fixes test and bug in pdr and graph) ##anal 2018-11-03 19:59:10 +01:00
Bet4
28fcfeb389 Fix some spawn args escape bugs ##debug
This reverts e973deadca commit dd4ad11379
2018-11-03 19:57:05 +01:00
Khairul Azhar Kasmiran
95773cdc30 Fix #10420 - Enable anal.jmpmid and support overlapping bbs ##anal
* anal.jmpmid: Added proper overlapping bb support (inc. for loops)
* Fix for multi-byte nop sled test
* No else after return
* Use r_anal_bb_is_in_offset()
2018-11-02 18:30:14 +01:00
sivaramaaa
bc4b5933d2 Improve array indexing in disassembly ##anal 2018-11-02 18:27:45 +01:00
Maijin
bbab838658
Remove aae dup and enable anal.types.constraint in aaaa ##anal (#12029) 2018-11-01 11:27:20 +01:00
Riccardo Schirone
6945016035 Small optimization and bugfix when auto-renaming functions ##anal
* anal/fcn: add function to RFlagSpace when adding it to RAnal
* make sure to add the flag in the right flagspace
2018-10-31 17:57:05 +01:00
pancake
ab76c43084 Fix assert found by aar in linux /bin/ls ##assert 2018-10-31 14:45:56 +01:00
pancake
c0ce0015e8 Fix assert in main-less bins after aa ##analysis 2018-10-31 12:58:23 +01:00
pancake
e2d21a36ea Add lock-screen menu option in visual panels 2018-10-31 11:50:57 +01:00
Khairul Azhar Kasmiran
d2fe951130 anal.jmpmid: Continue analysis after jump to middle of instruction ##anal 2018-10-31 11:47:17 +01:00
pancake
278879131b Add stack.reg and handle pP in Vppc ##visual 2018-10-31 11:34:23 +01:00
David CARLIER
c48d474fa8 Little code cleanups/var scope reductions 2018-10-31 09:46:22 +01:00
radare
35a5c42a52
Add LL command to lock screen ##visual
* Clear terminal backbuffer
* Password not saved in command history
* Show timestamp of last attempt
* Do a random sleep after every read to avoid time attacks
* ^Z is disabled
* Can be used from shell `r2 -qcLL --`
2018-10-31 01:52:08 +01:00
sivaramaaa
b9d2da86a2 Use op->val instead of op->ptr in cmp [mem], imm ##anal 2018-10-31 01:06:51 +01:00
fcasal
7117f2a76c Use fastcall in emustr on function calls ##disasm 2018-10-30 23:43:28 +01:00
Maijin
13bfc1e56f Remove unused functions in iosections ##refactor 2018-10-30 23:14:00 +01:00
BlaCoiso
0b8879c599 Fix visual panels crash on Windows ##windows 2018-10-30 23:11:55 +01:00
a1ext
0ac6582659 Fix heap overflow in long asm lines /via radareorg/cutter#803 ##disasm 2018-10-30 22:55:39 +01:00
Giovanni
6ad16dcd8b /Cd is now using a proper bitmask to search the values ##search 2018-10-30 17:50:51 +01:00
Guillaume Valadon
f8fa075a5e Improved hashbang error message (#12006) 2018-10-30 16:42:07 +01:00
radare
1880a96d8d
Fix regression in /rc and avoid repeated errors ##search (#12005) 2018-10-30 15:23:28 +01:00
Maijin
34abfd6d64
Remove all S commands ##refactoring 2018-10-30 13:23:18 +01:00
Álvaro Felipe Melchor
0a7690933c Add new function prelude for ARM thumb ##anal 2018-10-30 12:40:25 +01:00
Maijin
93b59643d8
Better om* output (#11989)
Better om* output
2018-10-30 12:36:01 +01:00
Khairul Kasmiran
f6f35c8d2b Extended a comment 2018-10-30 17:39:38 +08:00
radare
2f4e97d660
More code cleanup for RBin 2018-10-30 09:07:58 +01:00
radare
03996cb944
Fix #11977 - Handle arg in on /r subcommands ##search
* Fixes /rc inverse logic issue
2018-10-30 05:57:22 +01:00
radare
a96d85e0a8
Modernize RFlag with asserts, boolified and more ##refactor 2018-10-30 04:36:02 +01:00
pancake
fd97761298 Fix CID 1396481 - uaf when allocation fails in panels 2018-10-30 03:12:50 +01:00
Maijin
583c7c95ba Fix #11947 and fix #11945 - Implement iS= and iSq. ##bin 2018-10-29 23:33:40 +01:00
Khairul Azhar Kasmiran
5ce72de1f4 Add asm.bb.middle: Realign disasm on bb start ##disasm 2018-10-29 22:32:00 +01:00
Maijin
e8a6c90183
Remove all Sa commands ##refactoring (#11982) 2018-10-29 20:58:33 +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
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
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
e31545a1a0 Revert reloc middle filter 2018-10-27 00:59:35 +02:00