20289 Commits

Author SHA1 Message Date
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
dav1901
21861d185a Remove unnecessary break (#12538) 2018-12-21 23:41:18 +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
pancake
e44ce60829 Add fun fortune message 2018-12-20 12:02:15 +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
90ac594f08 Initial implementation of the Alpine Linux package ##build 2018-12-18 23:07:38 +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
Khairul Kasmiran
524874fd6d Move Vpk hang regression fix into prevop_addr() 2018-12-18 15:31:10 +01:00
Khairul Kasmiran
25006e4bc7 Fix prevop_addr() no-anal solution when near 0 2018-12-18 12:59:16 +01:00
Khairul Kasmiran
a72de3cfef Fix pd -N start addr to be equal to so -N 2018-12-18 12:59:16 +01:00
pancake
d2133cbdf8 Fix V?? regression. Avoid tabs and ?y was deprecated a while ago 2018-12-17 16:48:29 +01:00
pancake
2cdbb8e785 Fix Vpk hang regression 2018-12-17 16:12:35 +01:00
radare
df480622f2
Fix issue in asm.hint.pos=0 (#12496) 2018-12-17 16:03:01 +01:00
radare
8fb9275f2a
Update cmd_type.c 2018-12-17 13:47:37 +01:00
radare
95d92d12dc
Fix for(int issue 2018-12-17 13:33:14 +01:00
radare
0ca4d00251
Implement support for nword in ahi ##anal (#12494)
- ahi0 == ahi
- any digit from 0 to 9 is valid
- test case:

	$ r2 -qcq - << EOF
	wx c7458843c6ff00
	pd 1
	ahi 10
	pd 1
	ahi-
	ahi1 10
	pd 1
	EOF

	mov dword [rbp - 0x78], 0xffc643
	mov dword [rbp - 120], 0xffc643
	mov dword [rbp - 0x78], 16762435

* Fix behaviour in ahi nword and assume nword is 0 by default
* Add VdI
2018-12-17 12:56:07 +01:00
pancake
276effe4f2 Properly fix the static build issue that caused generic build fail 2018-12-17 12:49:49 +01:00
iamahuman
a54dbe914b Support r2core.js for Emscripten >=v1.37.24 (#12502)
* Support r2core.js for Emscripten >=v1.37.24

cwrap needs to be exported explicitly via EXTRA_EXPORTED_RUNTIME_METHODS
+ allocate larger memory, allow for growth and no aborting malloc

* wasm_asm was wrongly also included in anal.wasm

This causes link errors where duplicate symbols aren't allowed.

* supply wasm plugin to suppress meta arch warning

r2 core initializes itself for the current architecture until one is
explicitly specified (e.g. loading a binary).  Since asm.wasm and
arch.wasm isn't supplied by default, r2 when built for WebAssembly
emits some ugly warnings when loading.  Besides, those modules
(incl. bin.wasm) aren't that large.

* r2core: Make it possible to know when init is done
2018-12-17 11:55:44 +01:00
radare
7060103292
Improve RBuffer api, start to refactor rbin to use more rbuf ##bin (#12495)
- Added a new rule in the DEVELOPERS.md file
2018-12-17 11:54:46 +01:00
radare
63fae31b1e
Implement ecoo and extend scr.rainbow into pd ##visual (#12499) 2018-12-17 11:04:11 +01:00
radare
4b10376904
Add hex.ascii config variable ##print 2018-12-17 02:17:45 +01:00
pancake
2e076185e3 Kill local IS_NUMBER macro 2018-12-17 00:53:11 +01:00
davidpolverari
63ddd4ab87 Fix quoting typo in libr/socket/run.c (#12491) 2018-12-16 21:46:34 +01:00
dav1901
ede39f120c Fix few build compiler warnings (#12490) 2018-12-16 14:54:40 +01:00
radare
a2cb135280
Support uneven columns in hex.cols and fix stack after scope issue in scr.rainbow ##print (#12488) 2018-12-16 10:04:58 +01:00
iamahuman
9ed24b16a3 Fix Emscripten support 2018-12-15 18:32:24 +01:00
iamahuman
51ab0994c6 Add missing net stub r_socket_accept_timeout 2018-12-15 18:32:24 +01:00
iamahuman
7f380ae78d Make SPP less dependent on system(3) and popen(3) 2018-12-15 18:32:24 +01:00
iamahuman
4462e73306 Move mipsasm from mips_gnu to mips_cs
Including mipsasm.o in mips_gnu prevents builds with plugin configurations
lacking libopcode (e.g. emscripten / static.nogpl) from working properly.
2018-12-15 18:32:24 +01:00
pancake
fd2acacd2d Fix build 2018-12-15 17:36:26 +01:00
pancake
161f014369 Remove noisy warning in iso9660 2018-12-15 16:04:59 +01:00