23344 Commits

Author SHA1 Message Date
radare
31e71d340f
Add pkgname in RLibStruct for r2pm on outdated plugins ##core (#15813) 2020-01-15 09:49:41 +01:00
yossizap
f64f2211fb Added reverse step and continue support to gdbr ##debug
This feature only works with server implementations that have ReverseStep
and ReverseContinue enabled, such as rr. The official gdbserver doesn't support it.
2020-01-15 09:49:03 +01:00
Riccardo Schirone
abb30be72a Remove opt->sz checks and operations in r_bin_open_buf
opt->sz is not used anyway in r_bin_open_buf, so there's no need to
check its value or compute it.
2020-01-14 23:18:19 +01:00
pancake
d139fede85 Fix last coverities related to cbin 2020-01-14 23:17:48 +01:00
pancake
5490712135 Add test for a8 command 2020-01-14 23:17:29 +01:00
pancake
77f631ec5b Improve the op.type text representation when unhandled modifiers are used ##anal 2020-01-14 23:17:29 +01:00
radare
551a0986d6
'push rip' is not a valid instruction ##asm (#15804) 2020-01-14 14:36:45 +01:00
Khairul Azhar Kasmiran
87235e5393 r2r.v, -j 0: Allocate 1 job per test (#15807) ##tests 2020-01-14 14:36:21 +01:00
Anton Kochkov
b4de5c5113 Some more coverity fixes (#15802) 2020-01-14 12:57:34 +01:00
Itay Cohen
3e3a06856f Hide flag comments when realname is shown (#15801) ##disasm 2020-01-14 12:38:12 +01:00
yossizap
37797f7547 Moved drC to drpC for profile comments and added drC for reg comments ##debug 2020-01-14 11:35:13 +01:00
yossizap
71669c2cb3 Added register specific comment parsing to register profiles ##debug 2020-01-14 11:35:13 +01:00
Khairul Azhar Kasmiran
bf80920ed3 asm.symbol: Improve code/test a bit more (#15798) ##disasm 2020-01-14 11:33:25 +01:00
pancake
32d8fd8dc9 Implement pcV command to print byte array in Vlang 2020-01-13 23:15:06 +01:00
Vane11ope
2a20689969 Fix a small bug by removing some useless codes (#15795) 2020-01-13 10:02:15 +01:00
Khairul Azhar Kasmiran
87d09e3bea asm.symbol: Fix flag name when disasm from non-flag addr with no anal ##disasm 2020-01-12 12:51:50 +01:00
Itay Cohen
29c1344ff3 Improve realname support for symbols (#15702) ##bin
* Initial implementation of libname for flags in imports
* Initial support for PE and real flag
* Read libname for PE exports
* implement pj for imports
* Remove imp. prefix from symbol names
* Fix r_core_bin_impaddr()
* Fix some mdmp import stuff
* Print libname in ii
* Fix some imp. checks and reloc meta
* Fix r_bin_filter_sym() for imports
* Use realname for noreturn check
* Fix asm.flags.real for direct calls
* Fix realname for direct calls with fcn
* Fix resolving names from ordinal

Co-authored-by: Florian Märkl <info@florianmaerkl.de>
2020-01-12 03:09:12 +01:00
itayc0hen
3a12a2096a Add sha256 hash to "it" 2020-01-12 03:03:02 +01:00
yossizap
9e1a1e0f92 Fix crash caused by rebasing a file without sections ##debug 2020-01-12 03:02:08 +01:00
yossizap
ff38565a61 Set cfg.debug to true before running oodf in doof ##debug (#15787) 2020-01-11 16:50:27 +02:00
Khairul Azhar Kasmiran
0ac5ba9c75
Refix #15331 (-nn filename with @) (#15788) 2020-01-11 15:37:35 +08:00
Guillaume Valadon
09bbba9dca C prototypes fixed 2020-01-10 16:16:05 +01:00
Khairul Azhar Kasmiran
d9757db2e8 Fix broken AppVeyor due to rejected apostrophes (#15785) 2020-01-10 22:15:19 +08:00
Anton Kochkov
f3a0a3d01c Some coverity fixes 2020-01-10 12:30:23 +01:00
pancake
0e34303648 Third fix attepmt for musl builds 2020-01-10 03:50:30 +01:00
pancake
5a48a40178 Second fix attempt for Alpine/musl builds 2020-01-10 03:32:13 +01:00
pancake
52d9baf988 Aim to fix the alpine build 2020-01-10 03:06:46 +01:00
yossizap
2e5f4b41b4 Fix multithreaded breakpoint behavior in linux ##debug
The plugin wouldn't properly trace breakpoint hits on different threads
since they weren't switched to and the events weren't always handled.
Also, since the breakpoints are removed after they are found in one of the
threads, it's best to stop all threads for now even if dbg.threads is false.
2020-01-10 00:30:18 +01:00
yossizap
ed1f42085c Attach to new linux threads on creation ##debug
New threads were only added after being attached to manually or if
dbg->trace_clone was true. dbg->trace_clone stops debug and switches the
new thread now.
2020-01-10 00:30:18 +01:00
Florian Märkl
29d390012f Fix a format string vuln in the disassembly with comments (#15783) 2020-01-10 00:29:36 +01:00
radare
c3651a43ec
Fix debugger build on linux-s390x ##debug
* Add s390x reg profile
* Add missing pc register
* Use gregset instead of regset
2020-01-09 15:21:41 +01:00
Khairul Azhar Kasmiran
b25c8bb6c0 ww: Support esc seqs (#15780) 2020-01-09 15:07:33 +01:00
yossizap
0de7c21bcc Always unset bps after continue and step hard ##debug (#15772)
Breakpoints were left in disassembly after a signal/break and there
are probably other cases that may lead to it.
2020-01-09 12:00:24 +01:00
Vane11ope
11f46cee88 Offset for each panel was not correct (#15778) 2020-01-09 11:58:58 +01:00
Florian Märkl
4b02315717 Add null to pj and use for relocs (#15776)
* Add pj_null() and pj_knull()

* Print reloc name as null in json if not available

* Omit reloc name in json
2020-01-09 11:58:35 +01:00
Khairul Azhar Kasmiran
c591e7b1a1 Add test for #15727 (smd strings) (#15777) ##bin 2020-01-09 11:57:13 +01:00
pancake
70166dbb36 Improve shell injection check 2020-01-09 11:44:01 +01:00
Florian Märkl
55ef415c74 Fix Coverity fixes (#15779) 2020-01-08 18:23:14 -06:00
Anton Kochkov
0c46c3e1e3 Some coverity fixes 2020-01-08 14:16:11 +01:00
pancake
9c7b847b04 Improve unit test execution using the new V suite and makefiles ##test 2020-01-08 14:11:52 +01:00
pancake
1e5a3a15bd Fix issues in iCj, drlj and arlj ##json 2020-01-08 14:11:52 +01:00
radare
362e24892d
Fix #15331 - rabin2 -rk code injection issue (#15678) 2020-01-07 23:15:22 +01:00
Sylvain Pelissier
7de2ca21b5 Add elliptic curve private key search in /cr command (#15761) ##search 2020-01-07 22:01:16 +01:00
yossizap
3b804c5bc5 Add detailed location info to dpt using pc instead of path ##debug 2020-01-07 21:50:17 +01:00
Khairul Azhar Kasmiran
5a752e4d1c r_str_unescape: Support all izz esc seqs (#15770) ##bin
* Rewrite r_str_unescape() using switch
2020-01-07 16:41:56 +01:00
Riccardo Schirone
46e0a8d169
Do not compile radare2-shell-parser by default (#15769)
Last release (4.1.0) did compile it by default, but the build requires
internet access to download the repositories. For now, since the feature
is anyway very experimental, we disable it at compile time so that
distributions can just compile their packages without internet access.
In the future we may want to use submodules or augment the release
tarball to include the tree-sitter and radare2-shell-parser archives.
2020-01-07 13:37:04 +01:00
Theodore Dubois
8bcd898200 Pass 64-bit sdb_fmt parameters as 64-bit (#15758) 2020-01-07 12:56:15 +01:00
vane11ope
7461c91c44 Performance improvements for the cursor mode ##panels 2020-01-05 20:39:17 +01:00
Kārlis Seņko
b0ff7f5285 Fix double free in r_bp_del_index and other breakpoint index bugs
* Lack of cleanup in r_bp_del_all causing use after free in other dbi
commands
* Copy paste error turning dbix into dbx
* Add dbi- command
* Allow dbi commands to operate with index 0
2020-01-05 18:34:03 +01:00
Khairul Azhar Kasmiran
9b5aa5527f izzzj: Use pj api (#15760) 2020-01-05 09:12:57 -06:00