Commit Graph

17518 Commits

Author SHA1 Message Date
radare
c45cf8790b
Initial implementation of emu.ssa ##esil 2018-12-28 14:11:39 +01:00
Khairul Azhar Kasmiran
9889cc27de Fix no-anal asm.bbline when there is only backwards ref from addr (#12571) 2018-12-28 01:30:22 +01:00
David CARLIER
cae13a0e14 Improving slighty debug support on FreeBSD. (#12572)
When a process is interrupted by a signal, we try to
figure out the reason if the information is still available.
2018-12-27 23:18:55 +01:00
lzutao
9cc6d2d291 meson: Do not use glob with meson ##build
* meson: Explicit is better than implicit
* meson: Fix deprecated warnings in Meson 0.49.0
* meson: Do not need separate array for installed files

libr/socket/meson.build:30: DEPRECATION: Library r_socket was passed to
the "libraries" keyword argument of a previous call to generate() method
instead of first positional argument. Adding r_socket to "Requires" field,
but this is a deprecated behaviour that will change in a future version
of Meson. Please report the issue if this warning cannot be avoided in
your case.
2018-12-27 14:17:54 +01:00
pancake
e81d1257bf Fix last covs 2018-12-27 12:32:05 +01:00
pancake
40ec362d00 Use PFMT64x instead of llx 2018-12-27 12:29:19 +01:00
blenk92
b06a21d4db Ensure that function names are unqiue (#12567) 2018-12-27 12:26:35 +01:00
Khairul Azhar Kasmiran
57c90c1a1b Fix no-anal asm.bbline when there is backwards ref to and ref from addr (#12568) 2018-12-27 11:03:36 +01:00
radare
22de1dba2c
Fix #12397 - Colorize grep words if scr.color.grep is set ##cons 2018-12-27 06:23:10 +01:00
pancake
7668cc1e3d Fix oob in afC 2018-12-27 03:07:05 +01:00
pancake
6139287487 Save and disable asm.stackptr in pdc ##glitch 2018-12-27 00:46:22 +01:00
GustavoLCR
7a91e500ba Fix #12528 - Remove suffix modifier for 'j' in cmd_print.c ##print
* Removed modifier for j
* Using asm.bits/8 for j if no size is specified
2018-12-27 00:44:58 +01:00
blenk92
04dc09cbf3 Fix missing exported symbols in ELF ##bin 2018-12-27 00:44:10 +01:00
David CARLIER
ebfc39ddee Fix #12559 segmentation fault on iX command 2018-12-26 12:54:54 +01:00
GustavoLCR
7530895d0a Fix a few clang scan-build bugs (#12562)
* Removed unnecessary variable from libr/core/disasm.c
* Removed not necessary assignment in libr/core/casm.c
* Removed not used assignment in libr/bin/dwarf.c
* Rem. duplicate declaration and not used values
* Fixed potential memory leak in java/class.c
* Fixed potential memory leak in ragg2
* Removed unnecessary variable in visual.c
* Another potential memory leak in class.c
* Removed not used value assignment
* Fixed memory leak in dwarf.c
* Removed not needed assignments
* Remove more not used assignments
* Refactored where bin_sections gets arch & bits for clarity
* Removed more assignments that are not used
* Rem. more unused assignments
* Surround assignment with paranthesis
2018-12-26 12:54:12 +01:00
Khairul Azhar Kasmiran
1b4964c66e Fix no-anal asm.bbline when there are refs from and to addr (#12564) 2018-12-26 12:53:06 +01:00
Khairul Azhar Kasmiran
8cc62bef50 Fix #12516 - Fix asm.bbline glitch (#12556)
* Fix #12516 - fix asm.bbline glitch
* Use new R_ANAL_REFLINE_TYPE_MIDDLE_AFTER instead
* Allow for bblines before and after disasm line
2018-12-25 23:25:51 +01:00
Florian Märkl
2462653a23 Optimize ds_align_comment() ##disasm (#12560)
* Add r_str_len_utf8_ansi() ##util
* Use r_str_len_utf8_ansi() for line len in ##disasm
* Fix delete_last_comment()
2018-12-25 19:51:06 +01:00
Florian Märkl
e7451c6a0b Fix afcf for current seek 2018-12-24 16:10:48 +01:00
Vanellope
ebcd2f6add Refactoring ##panels (#12554) 2018-12-24 13:06:47 +01:00
radare
1fcf1bb784 Fix #12544 - 'jalr t9' is an alias for 'jalr ra ra t9' (#12551) 2018-12-24 18:28:33 +08:00
radare
79008a223e
Fix #12543 - Support backward branch and bl assembling for arm64 (#12552) 2018-12-24 09:22:54 +01:00
dav1901
f24556c189 Fix few clang-analyzer warnings (#12548) 2018-12-24 01:18:12 +01:00
Khairul Azhar Kasmiran
7d7f750aa9 Fix pd -N (#12545) 2018-12-23 10:51:22 +01:00
Khairul Azhar Kasmiran
249899eec8 ie/iee: remove laddr (#12539) 2018-12-22 10:02:34 +01:00
David CARLIER
fd93e26d0e Fixes #12531 proposals (#12536) 2018-12-22 10:01:03 +01:00
blenk92
00a8f132bf Fix different behaviour of agCj, agCv and agCd (#12540) 2018-12-22 10:00:21 +01:00
Vanellope
3152dc8675 Enable cursor and insert in Hexdump ##panels 2018-12-22 09:59:38 +01:00
Khairul Azhar Kasmiran
307f33261d Add laddr to iI ##bin 2018-12-21 23:45:01 +01:00
XYlearn
bd47997615 fix dead loop in fcn.c fcn_recurse (#12533) 2018-12-21 23:41:50 +01:00
pancake
4caa01dd2c Fix #12532 - null deref in axff 2018-12-21 09:38:42 +01:00
radare
e6874e1d88
Initial import of the PJ (PrintJSON) API 2018-12-21 09:18:25 +01:00
David CARLIER
2f8891caaf Few code cleanups. (#12526) 2018-12-21 00:35:41 +01:00
David CARLIER
23388801f2 FreeBSD/more reliable way to get PID's path. (#12527) 2018-12-20 22:29:18 +01:00
blenk92
51533d17d6 Fix odd behaviour of pdf (with regards to agfv and agfj) (#12522) 2018-12-20 15:39:36 +01:00
radare
84edbe8064
Some code cleanup and start to introduce r_return in r_io (#12523) 2018-12-20 15:31:18 +01:00
Francesco Tamagni
e3620985a5 Improve io map lookup performance in presence of many maps ##performance
- add the “skyline shadow” concept
- add `r_io_map_is_mapped` which binary-searches the skyline shadow to tell if a pointer belongs to any map
2018-12-20 15:30:06 +01:00
Khairul Kasmiran
45051c0c7c Add fallthrough comment 2018-12-20 19:46:20 +08:00
Vanellope
693d1872de Fix a resizing issue of Panels ##panels (#12524) 2018-12-20 12:44:31 +01:00
dav1901
303a57bb85 Minor code cleanups/fixes (#12519) 2018-12-20 11:50:29 +01:00
Khairul Azhar Kasmiran
49b9037685 ie/iee: remove baddr ##bin 2018-12-20 11:49:31 +01:00
David CARLIER
4efbe94f1b Little anal* code cleanup (#12518) 2018-12-20 11:48:19 +01:00
Francesco Tamagni
66cdd81387 Limit the blocksize in visual mode ##performance (#12520) 2018-12-19 22:57:00 +01:00
radare
476cfc4007
rabin2 -H and iH uses cb_printf instead of eprintf+printf ##bin 2018-12-19 12:08:25 +01:00
Riccardo Schirone
738bc9cb19 Fix warnings by using more r_str_ncpy
* Fix wrong logic in visual_search

When the string to be searched is wrapped in " ", you want to remove the
first and last quotes and look only for the internal string.

* Increase size to prevent string truncation (and fix compiler warning)
* Fix "destination unchanged after copying no bytes" warning
* Move msp430_register_names where it belongs to
* Fix Wstringop-truncation warning
2018-12-19 12:07:49 +01:00
Adrian Studer
d95f8ac768 Fix #12507 - duplicated xref in local flags 2018-12-19 00:12:14 +01:00
pancake
a6f943d87d Fix musl build (required for Alpine) 2018-12-18 18:24:09 +01:00
pancake
e0f2e503cd Fix printing of the macho UUID load command in iH / rabin2 -H 2018-12-18 18:19:16 +01:00
blenk92
26d7c0018e Fix different behaviour of agfv and advj (#12512) 2018-12-19 00:41:24 +08:00
dav1901
0a65d76eb8 Minor cleanups/fixes 2018-12-18 16:26:17 +01:00