12711 Commits

Author SHA1 Message Date
pancake
4bd1d0d9cd Introduce the anal->cmdtail and enhance anal.jmptbl with it
* Reduce false positives of switch tables detection
* Add flags for the jmptable, the cases and the bb using it
* cmdtail introduces some recursivity problems that may be fixed using the api more c
* Increased CMD DEPTH from 10 to 100
2017-05-23 23:55:22 +02:00
pancake
1661a3d39d Optimize asm.slow with bin.relocs 2017-05-23 23:54:11 +02:00
Stanisław Drozd
6be7cc1f90 Fix a simple bug in r2pm; make r_bin_get_size() behavior more intuitive (#7582)
* r2pm: remove "set -e" to fix the later gmake check
* bin.c: return 0 on missing object in r_bin_get_size()

When running "radare2 --", commands like iZ  would normally print
UT64_MAX (0xfff... or -1) when o is NULL, which seems misleading.
Besides, the function's return value is unsigned anyway.
2017-05-23 23:00:33 +02:00
Ren Kimura
d3f5773219 Add new trace session format 2017-05-23 19:37:11 +02:00
pancake
2e8be3913d Fix #7569 - Show comments in pxa too 2017-05-23 15:53:58 +02:00
pancake
079fb3e379 Fix #7559 - Fix possible null deref in r_lib_open_ptr 2017-05-23 15:26:17 +02:00
Ayman Khamouma
49d56a8a4c Add drlj subcommand (#7557) 2017-05-23 14:18:35 +02:00
pancake
b717ce05fc Add p==? and honor colors in p== 2017-05-23 13:38:19 +02:00
Giovanni
2a5731c857 fixed pdc mistake (#7576) 2017-05-23 12:49:56 +02:00
pancake
da72aa7b88 Fix uaf in dp- 2017-05-23 12:26:21 +02:00
pancake
9e19118eff Fix latest covs 2017-05-23 11:24:04 +02:00
Raúl Peñacoba
5fa1013a4f bin_sfc.c: fix NULL dereference when R_NEW0 fails (#7548)
* bin_sfc.c: fix NULL dereference when R_NEW0 fails

* Update bin_sfc.c
2017-05-23 11:12:49 +02:00
Ayman Khamouma
ce99a1123c Check file provided before performing any operation on oc command - #7539 (#7564) 2017-05-23 11:11:59 +02:00
Rene Laemmert
c5c2168c32 honor noreturn in aab and removed non exact cases from aab (#7575) 2017-05-23 10:13:51 +02:00
pancake
f8fc38710f Load .py, .js and .lua at startup time 2017-05-23 04:12:13 +02:00
Marc
ae1aef88b9 Add align info in payloads #7376 (#7574) 2017-05-23 03:01:45 +02:00
pancake
c506c8ebd7 Fix help messages in eco white 2017-05-23 03:00:21 +02:00
Srimanta Barua
d3958f00e4 Initial stub for gdbserver support
* Renaming functions, reorganizing code, adding temporary hack for closing gdbserver
2017-05-22 19:37:48 +02:00
pancake
747b30b428 Fix dmi and its help 2017-05-22 15:24:28 +02:00
Ayman Khamouma
9ae1526bbb Fix remaining glitches with recursive help #7528 (#7562) 2017-05-22 02:54:26 +02:00
pancake
7c7a151a2c Make anal.strings unset bin.strings and run aar, fix zoom.byte=? 2017-05-22 02:27:33 +02:00
pancake
f5ec70a8f1 Fix help for /A 2017-05-22 01:08:54 +02:00
pancake
74971add35 Honor MMX and SSE op.family for x86.cs 2017-05-22 00:56:24 +02:00
armijnhemel
114b266830 fix binding reporting for WEAK symbols (#7555) 2017-05-21 22:04:35 +02:00
pancake
0c6cd8cbc8 Better white theme for calls 2017-05-21 03:33:03 +02:00
Xiangyu Zhu
ad2cf6e58b bug in varsub in att syntax (#7552)
Sorry I only considered the case where a minus sign is before `oldstr`, actually this should be the correct way to handle that so arguments like `8(%rbp)` and `28(%rbp)` will work too.
2017-05-21 03:05:06 +02:00
pancake
df2015e64c Fix some covs memleaks in anal/sign 2017-05-20 23:35:49 +02:00
SkUaTeR
75626dde48 Implemented SAR using new esil command REPEAT (#7542) 2017-05-20 22:15:08 +02:00
Antonio Sánchez
3f8dee8113 Fix #7545 - Miss misspelled word in wtf! 2017-05-20 17:31:47 +02:00
pancake
238c10788f Fix #7541 and #4766 - Implement search.in=dbg.program and dbg.trace.libs 2017-05-20 15:03:17 +02:00
pancake
70852bb66f Remove | in asm.bbline and fix some glitches when no analysis found 2017-05-20 14:38:03 +02:00
Frefreak
642062d58e refine asm.varsub for att syntax and code refactoring (#7538) 2017-05-20 13:53:24 +02:00
Simone Ferrini
2a573ac402 Fix #7527 - read block after s- and s+ 2017-05-20 13:23:46 +02:00
Simone Ferrini
71de3c477d [dietline] Fixed command history regression (#7535) 2017-05-20 12:40:43 +02:00
Ren Kimura
de259c83d1 Add diff-style memory snapshot 2017-05-20 12:37:45 +02:00
pancake
815b9c0171 Copypaste z80 regprofile from gb 2017-05-20 12:16:02 +02:00
pancake
cdade1c93d Implement the new REPEAT keyword for ESIL 2017-05-20 00:18:57 +02:00
pancake
71dd42525b Fix #7505 - Make clear that we dont do anything with that node 2017-05-19 13:48:24 +02:00
pancake
10cae38182 Fix #7506 - Fix load_bytes for NRO 2017-05-19 13:46:58 +02:00
pancake
2d2ddf9594 Fix last covs 2017-05-19 13:43:33 +02:00
Tobias Gross
a4b311ebac Fix lea instruction not displayed right (#7529) 2017-05-19 13:32:03 +02:00
pancake
cce6265fcb Do not reload relocs on every pd with bin.relocs 2017-05-19 12:43:12 +02:00
pancake
1e89a9a5d6 Fix #7510 - debugging in mac hides the output 2017-05-19 00:39:33 +02:00
Ayman Khamouma
e02ecd426a Fix #7509 - update blocksize when calling r_core_print_disasm_instructions with nb_bytes parameter (#7526) 2017-05-19 00:36:18 +02:00
Ayman Khamouma
a9a0c7e385 Fix #7524 - Fix help messages for recursive help parser (#7525) 2017-05-18 23:13:18 +02:00
pancake
d1e1524bc2 Fix #7470 - No more infinite loops in pdR 2017-05-18 22:54:54 +02:00
xarkes
ccc39a88cf Added .appveyor.yml to the repo and better config (#7474) 2017-05-18 16:50:52 +02:00
Rene Laemmert
894d083127 avoid setting the value if the node-value is the exact same pointer (#7520) 2017-05-18 16:33:48 +02:00
Simone Ferrini
dc669f165b [linux_heap_glibc] Implemented dynamic global_max_fast resolution (#7512) 2017-05-18 11:56:06 +02:00
pancake
792d2e2ff2 Honor color palette in pxa 2017-05-18 11:43:26 +02:00