Commit Graph

18177 Commits

Author SHA1 Message Date
courk
e8aababb86 Add support for PIC Midrange & Enhanced Midrange (#10199)
* Add support for PIC Midrange & Enhanced Midrange

ESIL support isn't perfect yet: memory mapped registers support is
still missing.

* Fix syntax error in libr/anal/meson.build
2018-05-28 16:20:21 +02:00
Luca Di Bartolomeo
80c92bd01e Added ag autocompletion + final ag* fixes (#10187)
* Added ag autocompletion + shortcuts hidden when graph not interactive
* Renamed command 'agt' to 'abt'
2018-05-28 20:06:02 +08:00
pancake
8a765610b3 Fix rabin2 eprintf regression 2018-05-28 11:52:07 +02:00
Arnaud Lefebvre
f33999ab60 rtr: block on read() when receiveng a cmd output (#10204)
Otherwise data could be truncated and the socket might still have some
data left
2018-05-28 11:38:23 +02:00
Arnaud Lefebvre
f6616578a2 rap: list open connections with full host (#10205) 2018-05-28 11:35:50 +02:00
pancake
3d6efce76d Fix #10207 - Use r_cons_print instead of printf 2018-05-28 11:10:30 +02:00
David CARLIER
91d857386b Silent pointer arithmetic warning for capstone (#10206) 2018-05-28 11:03:19 +02:00
Luca Di Bartolomeo
21fc4436e5 Add -L flag to curl to follow redirects in pdb downloader (#10208) 2018-05-28 12:56:14 +08:00
pancake
aeef9d7423 s/deinit/fini/g 2018-05-27 15:55:33 +02:00
pancake
b63e146300 Fix ft help message and install flag tags file 2018-05-27 15:55:33 +02:00
Itay Cohen
d5d8f49e82 Fixed the help of pa? to include paD (#10200) 2018-05-27 15:53:58 +02:00
Vanellope
53d6345d3f Fixed a small yet kinda significant bug (#10201)
* Fixed a small yet kinda significant bug
* Added the same fix for Visual too
2018-05-27 15:53:04 +02:00
pancake
1af9bf466a Fix regression when no bb in pdr 2018-05-26 20:26:09 +02:00
pancake
05715bc3a5 Fix two gcc7 warnings (uninitialized and stack overflow) 2018-05-26 19:09:21 +02:00
Florian Märkl
f5fe86b790 Add r_cons_lastline_utf8_ansi_len() and use in ds_align_comment() 2018-05-26 18:27:29 +02:00
Florian Märkl
447aa8e707 Remove dangerous and unnecessary checks in r_str_ansi_len() 2018-05-26 18:27:29 +02:00
Khairul Azhar Kasmiran
ffed57df55 Declare b/t as invalid binary/ternary numbers (#10189) 2018-05-26 18:26:41 +02:00
Misty De Meo
f7c43fcfad libr: use openssl LDFLAGS at link time (#10188)
libr will have been compiled with openssl support if it was requested,
so it also needs to use the openssl LDFLAGS.

Fixes #10154.
2018-05-26 11:49:58 +02:00
sivaramaaa
13da7c809c [WIP] Support RAnalop.dst/src in all archs (#10185)
* Intial work on supporting RAnalop.dst/src in all archs

* Fix struct offset for dst operand in ta command
2018-05-26 11:42:14 +02:00
pancake
7965a77373 Add task_struct info in \p* for r2k.linux 2018-05-25 16:50:17 +02:00
pancake
08e65e69cd Support 0xff.. syntax for RNum 2018-05-25 16:46:44 +02:00
pancake
3e619bff12 Add task_struct address in linux r2k procinfo 2018-05-25 14:31:16 +02:00
pancake
9cb30f102a Use cb_printf in io.r2k 2018-05-25 13:43:49 +02:00
Toizi
7dac882477 pdfj now prints ops based on basic block info. fixes cmd for functions with linear size != real size (#10180) 2018-05-25 12:55:15 +02:00
Khairul Azhar Kasmiran
1af3b9fcd1
Honor asm.ucase in arm varsub (fp) (#10178) 2018-05-25 18:54:41 +08:00
David CARLIER
6bf6b99993 qsort_r is not supported under OpenBSD. (#10181) 2018-05-25 12:53:48 +02:00
Paolo Monti
26b1610b10 Rewrite of assembler logic for mov indirect, added many tests (#10177)
* Rewrite of assembler logic for mov indirect, added many tests
* Keeping stuff split for now, untill all instructions are fixed
2018-05-24 12:20:22 +02:00
Luca Di Bartolomeo
02d75022d2 Remove agft tiny graph edges on by default and fix aggt edges (#10167) 2018-05-24 12:18:48 +02:00
sivaramaaa
3c8d7d53fa Avoid recursion in self nested struct (#10169)
* Avoid recursion in self nested struct
* Remove commented code
* Minor fixes
2018-05-24 12:43:57 +08:00
cyanpencil
8a65873b64 Fix graph.from graph.to behaviour
Updated graph.from graph.to help

Updated visual help

Removed cmd.graph unused config variable

Whitespace cleanup
2018-05-24 00:15:35 +02:00
cyanpencil
c774c1209e Fix 'agj @ 0' inconsistency 2018-05-24 00:15:35 +02:00
cyanpencil
cbacb17b6f Add argument handling for every ag* command
Added grd->follow_offset for better arg handling in ag*
2018-05-24 00:15:35 +02:00
Paolo Monti
3f0bac9723 Fixed parser ambiguity between RIP and R8 (#10168) 2018-05-24 00:11:11 +02:00
condret
867f765219 Implement ordered id-storage (future storage for RIOMap) (#8769) 2018-05-24 00:10:19 +02:00
Adrian Studer
5f3f4bfc99 add missing data xref for xjmp - issue #10066 (#10173) 2018-05-23 22:58:55 +02:00
pancake
e2e2af1998 Add initial refactoring script and hints for android-mips 2018-05-23 18:22:37 +02:00
Paolo Monti
36a3fa526a Fixed the parsing of the operand sign (#10166) 2018-05-23 11:14:30 +02:00
Levente Polyak
2ca2a0ae15 libc: respect zip/deps.mk for zlib/libzip (#10163)
Additionally respect standard caller {C,CPP,LD}FLAGS plus the
deps.mk relaed LINK
2018-05-23 11:13:26 +02:00
radare
6da28493f5
Initial work on using idpool+idstorage from RBin + initial new RBin.open() api (#10160) 2018-05-22 17:48:34 +02:00
Rene Laemmert
a5fc453b72 Fixes slow vmenu pds (#10158) 2018-05-22 16:35:02 +02:00
Giovanni
b3a47c022a Fix bad cast in PPC esil (#10156) 2018-05-22 13:15:11 +02:00
Paolo Monti
65076bf596 Fixed operand struct (#10147)
* Fixed operand struct

* Fixed legacy code for test

* Forgot debug prints

* Fixed the other legacy code for test

* Fixed code for out instruction

* Fixed mov with rip source addressing
2018-05-22 09:41:35 +02:00
cyanpencil
9936a1dbe6 Updated ag? help
Fixed segfault in r_str_trunc_ellipsis()

Fix agC* command

Fix callgraph bug not resetting is_callgraph
2018-05-22 09:36:14 +02:00
cyanpencil
fc82e86b13 Added r_str_trunc_ellipsis() to truncate node titles too long
Removed comments and fixed r_agraph_get_node()
2018-05-22 09:36:14 +02:00
cyanpencil
4c040aeaca Added agA global graph and agR global graph 2018-05-22 09:36:14 +02:00
sivaramaaa
47acc3cf07 Implement tpx command to accept sequence of bytes (#10149)
* Honor @x: in pf

* Extended tp command to accept sequence of bytes

* Minor fixes
2018-05-22 09:35:54 +02:00
vane11ope
5ce6c7d425 fixed the resizing bug and the other small bugs. 2018-05-22 09:35:17 +02:00
cc
3752d992f3 fix for build with syscapstone 2018-05-22 09:34:34 +02:00
pancake
31ad955bab Use r_io_read_at instead of r_core_read_at which is now deprecated 2018-05-21 23:06:00 +02:00
pancake
9ddfed7135 Add missing file for meson 2018-05-21 22:13:07 +02:00