Commit Graph

17301 Commits

Author SHA1 Message Date
pancake
36dd3fcb08 pds always enables emustr 2018-02-20 02:09:47 +01:00
pancake
2c494d0a43 Do not aar when anal.strings is set on launch, aka fix confusing behaviour 2018-02-20 02:02:01 +01:00
pancake
ae4e57c91d Improve aae to support cstr and pstr like asm.emu.str does, supports PA mode 2018-02-20 01:59:03 +01:00
Francesco Tamagni
06e0744838 Ensure asm.cmtright is true in pds (#9436)
- also fix restore of config vars when returning early from disasm_strings
2018-02-20 00:57:42 +01:00
pancake
bc256101f5 Implement support for cstr and pstr for asm.emu.str in disasm 2018-02-20 00:56:59 +01:00
pancake
7abcec8f12 Remove global variable and make V) a tri-state 2018-02-19 23:24:41 +01:00
pancake
30a5247a8a Add ')' key in visual to toggle asm.emu.str 2018-02-19 23:04:17 +01:00
pancake
6d7008b42f Fix box colors for the ogray theme 2018-02-19 22:48:53 +01:00
pancake
9c12c4fe20 Fix crash in aea (thx asan) 2018-02-19 15:23:16 +01:00
Khairul Kasmiran
47a1596f3b strdup -> r_mem_dup 2018-02-19 22:06:34 +08:00
Khairul Azhar Kasmiran
d356d16a8e bf: allow loops of any size
* bf: allow loops of any size
* Consider unbalanced '[' insn as trap insn
* Using callback instead of directly linking to resize_read_buf func
2018-02-19 14:27:05 +01:00
Fangrui Song
e3b9ae9113 Reduce references of core->block (#9425) 2018-02-19 13:30:32 +01:00
pancake
e4c0746cb8 Remove a bunch of conflicting plugins for the static build
- Will be re-enabled when fixed the visibility of common symbols
2018-02-19 13:17:21 +01:00
Maijin
0e24795912
Update ISSUE_TEMPLATE.md 2018-02-18 09:27:47 +01:00
Maijin
2697520f4c
Update ISSUE_TEMPLATE.md 2018-02-18 09:27:08 +01:00
Anton Kochkov
be97cdee79 Fix MSVC build 2018-02-18 12:41:13 +08:00
pancake
047d672898 Hide crashes when dlopen on unix in rabin2 -Q 2018-02-18 03:49:19 +01:00
Giuseppe
bb8afcd57d Make aea output less obscure 2018-02-17 20:31:59 -06:00
Fangrui Song
8cc6cf068a cmd_eval.c: better help (#9414) 2018-02-17 20:20:33 -06:00
Fangrui Song
320a2d5a58 Add FUNC_ATTR_USED and fix some warnings (#9413) 2018-02-17 20:19:33 -06:00
pancake
f1be2a2af3 Fix more crashes related to reopen gdb:// 2018-02-18 03:18:30 +01:00
pancake
eef94066a0 Fix some crashes for 9410 2018-02-18 03:08:17 +01:00
pancake
946d559ca6 Fix r2 -m 0x1000 /bin/ls using oba as a workaround 2018-02-18 02:25:01 +01:00
Fangrui Song
ac4db23570 Report error if write fails. (#9416) 2018-02-17 19:05:04 -06:00
pancake
2f3284cb25 Remove pie target and add version one, removing the hardcoded PREVIOUS_RELEASE 2018-02-18 02:04:34 +01:00
pancake
d5ec745276 Fix static linking by creating libr_shlr.a and stripping sdb and tcc from them
This exposes some implicit static linking of libs, and also shows that librz.a
can be removed or generalized into using the partial-ld appraoch.

Still issues with pkg-config because libr_shlr is only available as a static
library and can be used in libr_util.pc, creating an empty libr_shlr.${EXT_SO}
may simplify the problem but still a workaround.

It is dangerous to link against it results in much bigger builds
(also faster), which requires LTO to get adjusted sizes.
2018-02-18 01:47:07 +01:00
Vanellope
173c7ee49f Fixed the bug where the stack pane in V! mode gets stuck when it scrolls down 2018-02-17 17:56:44 -06:00
Fangrui Song
4fe12f8c41 Add editor configuration to DEVELOPERS.md (#9415) 2018-02-18 00:33:37 +01:00
pancake
8d169cd94c Refactor esilInitialize in aes, needs more cleanup 2018-02-18 00:14:47 +01:00
pancake
1264e1c45e Fix xtensa esil emulation test 2018-02-18 00:14:37 +01:00
pancake
7eb75ffe77 Fix last covs 2018-02-17 19:53:30 +01:00
Khairul Kasmiran
95c01c5ad8 Fix for bf tests 2018-02-17 23:30:55 +08:00
Khairul Azhar Kasmiran
f8d0c8ff43 Fixed duplicate string comment when using asm.emu.str with absolute addressing (#9407) 2018-02-17 09:02:53 -06:00
fcasal
8d665765a6 Fix pseudo avr ldi instruction (#9402) 2018-02-17 09:02:09 -06:00
SkUaTeR
f8cf84e065 Fix some bugs (#9403)
* fixed some bugs
* format bug fix
* added MSVC version _time_stamp_to_str
* struct format
* adjusting output same as linux
2018-02-17 15:14:34 +08:00
Rafael Rivera
98f2a37aac Fix linux pdb regression (#9406)
Fixes 9385
2018-02-17 13:36:12 +08:00
Khairul Azhar Kasmiran
a96b76098f Fixed printing of flags when invoking pd twice with asm.emu.pre (#9405) 2018-02-15 22:42:54 -06:00
Riccardo Schirone
4f1d46e9bf bin/d: add a starting point for zip pf (#9401) 2018-02-15 13:06:10 -06:00
Florian Märkl
aa5434a487 Fix segfault in tj if size is not in sdb (#9400) 2018-02-15 07:40:29 -06:00
Khairul Kasmiran
6484c12547 Moved cbin.c's string filtering code into bin/filter.c 2018-02-15 20:42:05 +08:00
sivaramaaa
8fef260ff2 Fix aecs regression (#9398)
* Fix aecs regression
* Add a minor fix
2018-02-15 15:50:49 +08:00
Rafael Rivera
b6f17c63a6 Ensure pdb path is stripped down to filename (#9395) 2018-02-15 14:51:39 +08:00
Michael Scherer
09c5f2c934 Fix typo in TMS320 DSP plugin (#9397) 2018-02-15 13:04:51 +08:00
Rafael Rivera
499413cb2b Fix up pdb expansion target path (#9396) 2018-02-15 12:39:35 +08:00
Giuseppe
8e8f54fab4 Fix #9374 - stdin=!program not working (#9383) 2018-02-14 15:08:51 -06:00
StefanBruens
9d92c2d2f0 Consolidate thumb BL and BLX, simplify, bugfix (#9391)
Encoding for BL and BLX with immediate offset is identical, only
difference is the opcode in the second half of the instruction pair.

Use r_num_math instead of getnum, as the latter does not work correctly
for large arguments (>= 0x80000000).

Simplify logic for 16 bit aligned origin addresses. In case the origin
is not 32 bit aligned copy bit[1] to the target address (which is masked
by the decoder) and calculate the offset based on the modified address.

Using the same implementaton also fixes the missing offset handling in BL.

Fix for #9319
2018-02-14 15:08:00 -06:00
Oscar Salvador
6ab16a084b Shared libraries does not contain a PT_INTERP segment (#9331) (#9393) 2018-02-14 15:07:41 -06:00
Riccardo Schirone
818d9db3c1 util: when writing to a format value, overwrite all bytes (#9392)
Before this patch, when you did:

pf.test xww v1 v2 v3
pf.test.v2=0x1

only the first byte was overwritten, leaving whatever was in the high
byte of v2 there.
2018-02-14 15:06:52 -06:00
pancake
574792039c Update to latest acr 2018-02-14 14:05:07 -06:00
Vanellope
6958bfe640 Fix scrolling hotkeys stack in visual panels (#9390) 2018-02-14 15:05:56 +08:00