21457 Commits

Author SHA1 Message Date
pancake
0e445290ee Do not show the anoying 'cannot undo/redo seek' in panels 2019-04-12 00:04:48 +02:00
pancake
96a3ad659b Several usability improvements for panels 2019-04-12 00:00:43 +02:00
vane11ope
d6c5c271f7 Better page scrolling for JK ##panels 2019-04-11 23:49:43 +02:00
vane11ope
7401343244 Refactoring plus a little tweak for HL and some fixes ##panels 2019-04-11 23:49:43 +02:00
Vanellope
986fbcbb8e More refactorings and bug fixes for panels 2019-04-11 18:55:11 +02:00
Riccardo Schirone
a500f71c85 Replace pointer with an array of variable size (#13706)
The elements are directly after the headers, there is no pointer
involved.

Also, use r_buf_read_at instead of r_buf_get_at in mdmp.
2019-04-11 18:37:59 +02:00
Vanellope
9e9a924aef HL for move horizontally by a page (10 chars) in panels 2019-04-11 17:52:26 +02:00
Khairul Kasmiran
9993de06d3 Zeroize oldslide when leaving top-level pf 2019-04-11 17:47:42 +02:00
David Carlier
745fefcd92 Couple of new fortunes. 2019-04-11 17:42:45 +02:00
Khairul Kasmiran
c4cde679a8 Use NESTEDSTRUCT instead 2019-04-11 19:05:58 +08:00
Stephane LEVEUGLE
e7e6a880a7 Add tsd/tud/ted/tcd subcommands 2019-04-11 12:48:49 +02:00
Stephane LEVEUGLE
edff5ed2b4 Add newlines to tsc/tuc/tec 2019-04-11 12:48:49 +02:00
Itay Cohen
4368252431 Honor asm.jmpsub in pdj output (#13701) 2019-04-11 12:03:09 +02:00
radare
365a534505
Fixes for flagzones and scr.scrollbar ##visual (#13698)
* scr.scrollbar (0=no,1=right,2=top,3=bottom)
2019-04-11 06:48:22 +02:00
pancake
1b4d56162d Add scr.scrollbar.bottom ##visual 2019-04-11 04:48:14 +02:00
radare
a7dffe0240
Add anal.ignhintbits to only obey asm.bits and ignore hints ##anal (#13696) 2019-04-11 04:34:34 +02:00
radare
b687cab8f7
Optimize r_anal_try_get_fcn by removing fixed size buffer ##anal 2019-04-11 00:19:45 +02:00
pancake
e8b49918ab Add an option for anal.loads ##anal 2019-04-11 00:07:26 +02:00
pancake
fe262e3ff6 Load instructions now set a data meta ##anal 2019-04-11 00:07:26 +02:00
condret
ec16533b84 Cleanup avr-esil for inc and dec (also RPICK-removal) (#13693) 2019-04-10 21:38:50 +02:00
Khairul Azhar Kasmiran
b9d59d2492 pfj: Remove errorneous ]}, after struct nested to 1 level (#13691) 2019-04-10 18:26:09 +02:00
radare
48db157935
Fix random crash on x86.cs on exit when used with r2frida (#13692)
* better leak on exit than crash in capstone/frida
2019-04-10 18:11:54 +02:00
condret
a5dbd3b413 More RPICK removal in avr esil (#13687) 2019-04-10 12:20:50 +02:00
radare
f2c2fbdd3b
Fix #13653 - crash reproduced randomly in graph with white2 theme (#13685) 2019-04-09 22:44:52 +02:00
condret
1d40c3825e Remove unnecessary RPICK in avr.esil ##esil 2019-04-09 21:56:14 +02:00
David CARLIER
9a2462620e Few UAF fixes ##esil (#13678) 2019-04-09 21:32:34 +02:00
Andrew D'Addesio
4198e18687 arm: Remove redundant op->type assignment (#13683) 2019-04-09 21:31:39 +02:00
Vanellope
884cf347c7 Fix menu focus colors in panel menus 2019-04-09 19:23:12 +02:00
Vanellope
e73a5a09b0 Rename Pseudo -> Decompiler in panels 2019-04-09 17:47:35 +02:00
condret
00c1e3697c Add esil_weak_eq and make an operation ##esil
* Deprecate esil_write_internal
* $z, $b, $c, $p, $o, $s, $ds, $jt, $js, $r, $$ are now ops
* Remove R_ANAL_ESIL_PARM_INTERNAL
2019-04-09 11:37:04 +02:00
Deepak Chethan
05c272b950 Fix #13596 - Implement afb= and afl= and do some refactor ##anal 2019-04-09 08:07:17 +02:00
pancake
0f26570048 Fix callgraph browsing and node folding glitches ##visual 2019-04-09 03:20:55 +02:00
radare
a756bfca4c
Fix large disasm issue with invalids and handle @{xfs} ##print
* Fix segfault and trim whitespaces to fix pd @x:9090
* Use maps and io.va=1 to make it work instead of hacky memcpys
* Fix p8f and bring back core->fixedblock to make pd/pD@x:/len work again
2019-04-09 02:56:53 +02:00
pancake
caa3df9fba Handle /* in reg/stack cursor in debugger view ##visual 2019-04-09 02:01:32 +02:00
pancake
9620c3d5b6 Handle +- keys to increase/decrease register value ##visual
* When in cursor mode in the debug visual view select the reg with tab+arroows
2019-04-09 02:01:32 +02:00
vane11ope
2cd69a808b Auto update decompiler ##panels 2019-04-08 22:26:03 +02:00
Andrew D'Addesio
dff5115a22 arm: Improve glibc entry point signatures
Two changes:
1. Add signature for old gcc (4.6) that uses ldr/str instead
   of push/pop.
2. Mask out the Thumb bit from main's vaddr.
2019-04-08 21:53:15 +02:00
Andrew D'Addesio
fcd10cc52d arm: Cleanup br instruction handling
The cleaned up code fixes the following issues:
1. "bx pc" should always change to ARM mode (bits=32), never
   Thumb mode (bits=16), since PC is always even.
2. Use (addr & ~3LL) + pcdelta for all PC-relative arithmetic.

and removes checks for "b reg"/"bl reg"/"bx imm"/"bxj imm" as
these instructions don't exist.
2019-04-08 21:53:15 +02:00
Andrew D'Addesio
05998cdfbb arm: Move brace postfixing to bottom of function
The analop_esil/analop64_esil functions have to wrap braces around the
ESIL expression if there's a condition code. Instead of only printing
the closing brace on certain instructions (which may differ from
arm_prefix_cond one day), print it regardless of the instruction.
2019-04-08 21:53:15 +02:00
Andrew D'Addesio
04a4cc2faf arm: Move op analysis from anop_esil to anop
This matches how other archs do it, such as x86.
2019-04-08 21:53:15 +02:00
Vanellope
f199e4d87e v!g instead of v!o for consistency ##panels () 2019-04-08 19:48:32 +02:00
Vanellope
e6ae122dfd Refactoring for performance issue part1 ##panels 2019-04-08 17:48:15 +02:00
Khairul Kasmiran
9ed3e19fc2 Sync elf_machine enum in elf.c with elf_enums pfo 2019-04-08 22:50:33 +08:00
radare
25942183d9
Increase autocompletion to 4096 (#13662) 2019-04-08 16:40:46 +02:00
pancake
2bfee0a270 Blindfix #13659 - crash in aao with a fuzzed macho 2019-04-08 16:33:10 +02:00
pancake
4473f40533 Add version information to libr_main 2019-04-08 16:31:21 +02:00
Khairul Kasmiran
109cb754a6 Add workaround to fix pfj test output 2019-04-08 22:25:21 +08:00
Itay Cohen
24e78641dc Enable asm.jmpsub by default ##disasm 2019-04-08 16:18:46 +02:00
Khairul Azhar Kasmiran
af339298e6 elf.c: Update -nn header format (#13657) 2019-04-08 16:16:46 +02:00
radare
b67a28bd3a
Make zignatures database more flexible, add realname, comments and xrefs ##sign (#13655)
Use more r_return and a lot of code cleanup, but still not finished, more PRs to come
2019-04-08 16:13:44 +02:00