pancake
c49fe88eea
Fix crash in r_th_free (NULL);
2018-02-20 22:24:29 +01:00
pancake
792956c67d
Add a loading animation in a thread when using r2 -t
2018-02-20 22:21:38 +01:00
pancake
185c91eefd
Implement VV) - rotate asm.emu.str in visual graph
2018-02-20 22:03:27 +01:00
pancake
dd6b395e74
Implement wao for arm64
2018-02-20 21:56:53 +01:00
pancake
0e372b9041
Make ,, an alias for \n in RAsm.massemble to make wa/pa nicer to use
2018-02-20 21:55:00 +01:00
Vanellope
4a3cfe1882
fixed llx of my previous code to PFMT64x because of portability issue ( #9444 )
2018-02-20 22:18:02 +01:00
Khairul Kasmiran
e7e544cbd8
bf, unbalanced '[': trap -> ill
2018-02-20 19:07:34 +08:00
Francesco Tamagni
3764a414d3
Avoid printing references to flags below address asm.minvalsub
( #9438 )
...
* Avoid printing references to flags below address `asm.minvalsub`
- in ds_print_data_type
* Cache config value in ds
2018-02-20 10:51:44 +01:00
sivaramaaa
6049bbb634
Fix #9428 , remove dupe messages and added dbtv help ( #9440 )
2018-02-20 14:38:18 +05:30
Paul I
bb4f61580e
Cleanup meson files ( #9424 )
2018-02-20 09:33:19 +01:00
Oscar Salvador
b27456c5ca
Don't trigger linux kernel hack if we don't have PT_PHDR ( #9420 ) ( #9432 )
2018-02-20 08:58:20 +01:00
sivaramaaa
223219039f
Fix #9430 , null deref in print zoom ( #9439 )
2018-02-20 09:00:13 +05:30
Vanellope
0d13f91bf1
refactored code base a bit and got rid of unnecessary garbages. ( #9431 )
...
* refactored code base a bit and got rid of unnecessary garbages.
* got rid of unnecessary macros which did not make sense at all.
2018-02-20 02:15:17 +01:00
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
Anton Kochkov
be97cdee79
Fix MSVC build
2018-02-18 12:41:13 +08: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
Fangrui Song
ac4db23570
Report error if write fails. ( #9416 )
2018-02-17 19:05:04 -06: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
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
Vanellope
6958bfe640
Fix scrolling hotkeys stack in visual panels ( #9390 )
2018-02-14 15:05:56 +08:00
Michael Scherer
c624599219
Remove unused file ( #9388 )
...
The file is not used anywhere, radare2 build fine without it, and it
look like the result of 'grep -r bg' written in a file and commited
by error.
2018-02-14 15:01:05 +08:00
Lowly Worm
28c84c23ef
fix shell injections ( #9389 )
2018-02-14 12:42:03 +08:00
pancake
4691bc9d29
Add ?lq and change behaviour of ?l
2018-02-13 13:15:11 -06:00
pancake
a2a19b480d
Fix #9138 - crash when resizing terminal in VVvg
2018-02-13 08:43:37 -06:00
pancake
1414625ae0
Fix use of r_list_uniq in disasm, needs more review
2018-02-12 16:00:14 -06:00
pancake
bc84cd06d0
Implement r_list_uniq and fix the multiple main issue
2018-02-12 14:53:35 -06:00
pancake
f5aa5906d4
Fix last covs (null derefs and leaks)
2018-02-12 14:27:38 -06:00
rfc2119
381f2cc1a6
Correct interpretation of imul and mul ( #9355 )
...
I had to loosen the contraction "*=" to allow 3-op imul to work with minor modifications. No SIMD(MMX,SSE*,...) or x87 floating-point instructions are tested.
2018-02-12 21:22:42 +01:00
pancake
636d95449f
Fix regression in RBuffer.fcpy
2018-02-12 14:17:03 -06:00
pancake
997a754805
Make aesu work with slot delay emulation, sync with more tests
2018-02-12 14:11:01 -06:00
pancake
9926909181
Fix delay slot emulation with ESIL on MIPS (by rewriting it)
2018-02-12 13:22:11 -06:00
radare
951598bcc6
Fix build
2018-02-12 12:34:33 -06:00
Michael Scherer
b9d7f683f4
Use constants for permissions for readability ( #9361 )
2018-02-13 01:13:55 +08:00
Vanellope
143ca46c65
the remove breakpoint command unified into db- ( #9369 )
2018-02-13 01:13:06 +08:00
pancake
d67742eb60
Support RIOBind on RBuffer for fcpy_at
2018-02-12 10:28:00 -06:00
Michael Scherer
8c683eab91
Add REV and others to Rasm2, related to bug #7250 ( #9365 )
2018-02-12 16:09:31 +01:00
Giovanni
e46939eb4f
merged fixes from contributor to libvle ( #9380 )
2018-02-12 16:09:19 +01:00
pancake
d6a174019d
Initial support for RIOBind on RBuffer
2018-02-12 09:08:41 -06:00
sivaramaaa
145b7aceac
Fix minor issue in izz ( #9377 )
2018-02-12 01:44:00 +05:30
Michael Scherer
4ce73d2d44
Add a warning if no section is executable when using aap ( #9367 )
...
While trying to RE a firmware, I didn't realize that section
must be marked as 'executable' for aap to work, and the error message
didn't seems to imply that aap wasn't able to find anything.
2018-02-11 20:47:57 +01:00
Vanellope
8553ffd7cd
added autocomplete for the other missing commands as dbd, dbe, and so on. refactored the code styling a bit. ( #9371 )
2018-02-11 20:45:11 +01:00
Giuseppe
1e9bce4a8d
Fix #9197 - aarch64 ldur
instruction was missing ( #9372 )
2018-02-11 20:44:52 +01:00
fcasal
68f1e08ac5
added pseudo code for avr instructions movw and st* ( #9373 )
2018-02-11 20:44:17 +01:00
sivaramaaa
15c02fab10
Fix #9368 , fix json issues when -n used ( #9376 )
2018-02-12 00:05:53 +05:30
Anton Kochkov
10473c03fb
Fix workaround for linux ELF PHDR hack workaround
2018-02-11 12:47:15 +08:00
Michael Scherer
b35f936b73
Fix first parameter position for CLZ asm code ( #9364 )
...
Fix error in 4b74942
2018-02-10 20:44:08 +01:00
Michael Scherer
4b7494252e
Add CLZ instruction to rasm2 ( #9363 )
...
Partially fix #7250
2018-02-10 19:24:34 +01:00
radare
c784da20d1
Workaround for the kernel workaround
...
Can't do better without sample bins..
2018-02-10 19:24:05 +01:00
Khairul Azhar Kasmiran
911df601e8
Added asm.emu.stroff: always show offset when printing asm.emu strings ( #9354 )
2018-02-10 18:10:22 +08:00
Michael Scherer
fbd14e9aa2
Fix SPC700 permissions, similar to 49bc9ef024
( #9360 )
2018-02-10 01:10:15 +01:00
Michael Scherer
8e55c6dc8b
Fix regression introduced on eeef82c2
( #9359 )
...
R_BIN_TE_SCN_IS_READABLE should result into R_BIN_SCN_READABLE, not
R_BIN_SCN_SHAREABLE.
2018-02-10 01:09:54 +01:00
Michael Scherer
40b1b6492e
Reuse existing constants for map perms in smd plugin ( #9358 )
2018-02-10 01:09:42 +01:00
pancake
a9159236b2
Var summary colors honor theme
2018-02-10 00:30:55 +01:00
pancake
ca41f9b4c3
Bump to 64 anal.depth to fix mips tests
2018-02-10 00:25:24 +01:00
pancake
4354526b89
Fix aop{jump,fail} regression in avr
2018-02-10 00:22:54 +01:00
pancake
66a73104b3
A bit more deep...
2018-02-09 23:38:45 +01:00
pancake
72cfc32029
Fix s-1 regression
2018-02-09 23:36:52 +01:00
pancake
b188f40e42
Fix SMD entrypoint according to the baddr
2018-02-09 23:35:10 +01:00
pancake
49bc9ef024
Fix SMD map permissions
2018-02-09 23:25:24 +01:00
pancake
46595c519b
Increase anal.depth to fix some tests
2018-02-09 22:24:17 +01:00
Oscar Salvador
dd4ad11379
fix ood whitespace ( #9302 ) ( #9353 )
2018-02-09 21:37:47 +01:00
Vanellope
beb967cc82
db- autocompletion ( #9356 )
...
* done implementing autocompletion for db-.
* db- autocomplete should show available breakpoints to be deleted with tab key.
2018-02-09 21:28:19 +01:00
pancake
4e44e8e18e
Fix compilation warnings on Linux
2018-02-09 18:45:54 +01:00
Sven Steinbauer
1b60dbd9e2
Correctly assemble blx
for arm32 and arm16 ( #9352 )
...
FIX #9319
Tests added to r2r master
2018-02-09 15:27:39 +01:00
pancake
5194e9012a
Honor scr.color in Vbf
2018-02-09 13:59:27 +01:00
pancake
05915305a0
Fix build
2018-02-09 12:10:35 +01:00
Rafael Rivera
3031324be3
Initial e dbg.symstore support ( #9338 )
2018-02-09 11:34:09 +01:00
Giuseppe
71eec44e6b
Implement rabin -Vj for PE files ( #9340 )
2018-02-09 03:50:39 +01:00
Giovanni
782c448c1e
non compliant x86 instructions disasm for VM environment ( #9350 )
2018-02-09 03:49:09 +01:00
Khairul Kasmiran
f56fb18a5d
Minor renaming
2018-02-08 19:53:30 +08:00
Antonin Deniau
ce36431065
Add json output to pdb command. ( #9341 )
2018-02-08 11:20:28 +01:00
Vanellope
aab00e98bd
Autocomplete should work properly for agfl now
2018-02-08 11:20:07 +01:00
Giuseppe
66569c5c7e
Implement rabin -Vj for ELF files ( #9345 )
2018-02-08 11:19:45 +01:00
Khairul Azhar Kasmiran
b04fddc260
Printing of esil strings now honor bin.strpurge ( #9339 )
2018-02-07 16:14:04 +01:00
Anton Kochkov
9aabb06939
Enable hexagon for Windows builds ( #9337 )
2018-02-07 14:57:32 +08:00
pancake
56f553b69a
Honor anal.depth instead of harcoded value. Fixes aac in avr
2018-02-07 00:02:40 +01:00
Giuseppe
52361460bb
Fix #9073 - Implement tj command ( #9327 )
2018-02-06 22:44:18 +01:00
Florian Märkl
1a9392820b
Fix asm.flgoff indent
2018-02-06 22:43:38 +01:00
Florian Märkl
c454fd2639
Refactor Disassembly pre and fix indent ( Fix #9316 )
2018-02-06 22:43:38 +01:00
Adrian Studer
6fa334607b
8051 fixed push/pop refs, simplified sfr calc ( #9333 )
2018-02-06 22:40:40 +01:00
pancake
6ba461f1c1
Fix memleak in massemble
2018-02-06 14:34:41 +01:00
Khairul Kasmiran
cb20c6eca6
Minor refactoring involving string_filter()
2018-02-06 21:10:58 +08:00
Benno Fünfstück
61d1c1fa28
More avr fixes ( #9329 )
...
* fix(anal_avr): more decoder fixes
* feat(anal_avr): add sts instruction semantics
* feat(anal_avr): more 16 bit register names
They get used frequently by the compiler as 16-bit storage values, and it should
not hurt to have them even if some processors may not support them (not sure if
there actually are processors that don't)
2018-02-06 13:41:19 +01:00
Giuseppe
3a5306f722
Fix afll output indentation ( #9315 )
2018-02-06 13:15:57 +01:00
Giuseppe
d31ca423fd
Add afllj in afl?
commands
2018-02-06 13:14:31 +01:00
Giuseppe
be68c96bcb
Add afll's min,maxbounds in json returned by aflj
2018-02-06 13:14:31 +01:00
Giuseppe
8336816d9c
Add alternative and colored view for varsum ( #9306 )
...
This should _not_ break .radare2rc's that
use a boolean for `asm.varsum`.
2018-02-06 13:13:55 +01:00
Anton Kochkov
5f3c06b4b6
Hexagon - improve jumps analysis
2018-02-06 13:31:18 +08:00
Anton Kochkov
56e5012142
Fix hexagon duplexes recognition
2018-02-06 12:51:53 +08:00
Anton Kochkov
129b1ced20
Fix GCC parentheses warnings
2018-02-06 12:47:38 +08:00
sivaramaaa
b7434da557
Fix #5570 , Add dword/qword and stop analyzing PE imports ( #9325 )
...
* Add dword/qword for PE imports
* Stop analyzing PE imports further
2018-02-05 19:29:40 +01:00
pancake
c0d7477879
Blind fix for a null deref in cutter
2018-02-05 13:49:26 +01:00
Anton Kochkov
1b73ae0777
Fix Hexagon OOB problem
2018-02-05 18:50:11 +08:00
Anton Kochkov
a3153a4801
Fix Hexagon OOB problem
2018-02-05 18:39:46 +08:00
Rafael Rivera
5ce04888fa
Add (u)quadword and short types, clarify warning ( #9322 )
2018-02-05 14:38:38 +08:00
Florian Märkl
208a7e628e
Fix pdJ for asm.fcnlines ( #9312 )
2018-02-04 20:14:23 +01:00
pancake
fe194d205a
Add Visual browser for process threads
2018-02-04 13:04:34 +01:00
Khairul Azhar Kasmiran
bd139164d6
Disasm now honors bin.strfilter ( #9308 )
2018-02-04 12:43:27 +01:00
pancake
79bac9c5d7
Fix #2983 - double-free issue in Java.RAnalOp.cases switch
2018-02-04 12:42:42 +01:00
Florian Märkl
1d58bab2af
Fix pdJ for asm.varsum ( #9303 )
2018-02-04 12:15:26 +01:00
Khairul Kasmiran
2851212ef6
Removed inaccurate comment
2018-02-04 11:40:15 +08:00
rfc2119
1bc3a5a34a
second interpretation of imul
...
imul is one of the few expressions that takes three arguments: `imul eax, eax, 0x16` is interpreted as `eax *= eax`, which is wrong. Also same case applies for `imul eax, ecx, 0x16` where eax = ecx * 0x16
2018-02-04 00:10:04 +01:00
Adrian Studer
207e8596cd
refactor for riobind
2018-02-03 19:22:56 +01:00
Adrian Studer
60c396e401
adding r_io dependency to anal meson
2018-02-03 19:22:56 +01:00
Adrian Studer
c8c062dba9
fixing r_io dependency at the right place (ranal)
2018-02-03 19:22:56 +01:00
Adrian Studer
59ac699678
8051: adjusted sfr mapping
2018-02-03 19:22:56 +01:00
Adrian Studer
44d3873289
8051: allocate mapped memory
2018-02-03 19:22:56 +01:00
Benno Fünfstück
0739b0c823
fix(anal_avr): correct ESIL semantics of sbc
...
Rd-Rr-C must be computed as Rd-(Rr+cf), not Rd-(Rr-C) (which adds the
carry, instead of subtracting it).
2018-02-03 19:22:15 +01:00
Benno Fünfstück
ab16f7b322
avr: fix some esil instruction decoding bugs
2018-02-03 19:22:15 +01:00
Florian Märkl
cf626ba31a
Fix pdJ for asm.cmtright ( #9301 )
2018-02-03 19:21:54 +01:00
Benno Fünfstück
8b1e0bb16e
more descriptive p=d output, handle min = 0 correctly ( #9298 )
2018-02-02 23:33:35 +01:00
pancake
6b053ccf59
Fix hexagon register profile
2018-02-02 23:03:14 +01:00
pancake
c6baeb5728
Fix symbol name encoding issue for JSON
2018-02-02 21:32:40 +01:00
Florian Märkl
4f8c9908b0
Reset Color for asm.emu ( #9292 )
2018-02-02 16:58:38 +01:00
Giovanni
ac9ec50b57
[COV] 1381331 Uninitialized pointer read ( #9291 )
2018-02-02 14:57:04 +01:00
Anton Kochkov
efcc2bef68
Hexagon QDSP6 v6 support - LGPLv3 ( #9289 )
2018-02-02 13:10:40 +01:00
Florian Märkl
897fb45241
Reset Color for asm.calls ( #9290 )
2018-02-02 12:54:06 +01:00
Florian Märkl
1f3708feef
Support asm.bytes in agJ ( #9285 )
2018-02-01 17:27:48 +01:00
Ayowel
acc12c9137
Removed c99 declaration in for loop ( #9284 )
2018-02-01 16:35:08 +01:00
pancake
3feef7fb64
Fix opstackptr
2018-02-01 15:53:05 +01:00
Sven Steinbauer
d304cef875
Add support for mul ops ( #9281 )
2018-02-01 15:38:25 +01:00
Florian Märkl
d0af2bea79
Add agJ for json graph with formatted disasm ( #9282 )
2018-02-01 15:12:27 +01:00
xarkes
c05bd707c5
Added v810 and tms320 to meson ( #9280 )
2018-02-01 13:18:07 +01:00
xarkes
4e37975eef
Added x86_udis to meson ( #9279 )
2018-02-01 10:55:25 +01:00
SkUaTeR
f95083d5a6
Add abr command
2018-01-31 17:59:05 +01:00
pancake
2120d2341b
Do not break when r2 -AAd
2018-01-31 16:20:23 +01:00
sivaramaaa
014bb3b522
Fix #9267 , Honor anal esil hints in disasm ( #9276 )
2018-01-31 19:48:51 +05:30
Sven Steinbauer
adc13ded07
Fix #6512 - Implemented .incbin
...
* User RBuf for storing incbin data
The incbin data is stored in an rbuffer and then appended to the output
which is reallocated to allow for addition of the inc data.
Refactoring buf_hex to be an rbuffer is ideal, but would need
refactoring in multiple places in the future.
2018-01-31 11:19:29 +01:00
ampotos
1742fe8f1d
fix asm be thumb assembly by armass #9219 ( #9271 )
2018-01-31 09:50:30 +01:00
Adrian Studer
02997bfaa2
8051: added configurable mapping of address spaces ( #9275 )
2018-01-31 09:48:25 +01:00
Craig Ingram
cd7d7315d6
Change all asm.emu* to asm.emu.* ( #9272 )
2018-01-30 16:21:31 +01:00
pancake
7bd97c3be9
Also do stackptr emulation with asm.emu.pre
2018-01-30 14:25:15 +01:00
SkUaTeR
4f8213b95f
fix cv now $? get result ( #9265 )
2018-01-30 01:38:32 +01:00
pancake
8d7b124556
Fix #9260 - Implement asm.emu.pre to do pre-emulation in pd
2018-01-30 00:41:30 +01:00
Marc
9d359653dd
Fix Segmentation fault in io_zip for IPA files ( #9262 )
2018-01-29 23:46:26 +01:00
Adrian Studer
fa5d756211
removed %n$ constructs ( #9261 )
2018-01-29 13:04:20 +08:00
pancake
1d7aafcdc7
Fix help message for 'rarun2 aslr=no' in mac
2018-01-28 22:56:46 +01:00
pancake
2a3246e20b
Fix jmp asm bounds
2018-01-28 22:11:15 +01:00
pancake
75e469ac0a
Fix #9259 - Crash in mdmp unsigned negative indexing
2018-01-28 19:24:39 +01:00
pancake
b97360807f
Fix #9246 - Error when trying to assemble an invalid jmp address
2018-01-28 19:12:58 +01:00
pancake
ce928d3e92
Fix ao->stackop
2018-01-28 18:59:58 +01:00
Paul I
71423f6fb9
Added additional default value of dir.prefix on Windows ( #9256 )
2018-01-28 12:36:38 +01:00
xarkes
fa80721ded
Add gb linking ( #9257 )
2018-01-28 12:36:02 +01:00
Khairul Kasmiran
62c1919b3a
Fixed off-by-one in bin.strpurge example
2018-01-28 10:36:21 +08:00
pancake
fbe7a0e458
Fix oobread in parse.mips
2018-01-28 02:41:33 +01:00
pancake
0eff809098
Implement obf ( fix #6367 ) and fix uaf in ob-*;i
2018-01-28 00:45:29 +01:00
pancake
6f64b9ff29
Add search.in=bin.sections and @@@ sections
2018-01-28 00:27:30 +01:00
pancake
c19e3b0f8c
Fix memleaks in r_core_get_boundaries_prot
2018-01-28 00:19:11 +01:00
pancake
39d208af9a
Remove unnecessary TODO printf in debug.esil
2018-01-28 00:17:12 +01:00
pancake
148e54b677
Fix crash (oobread) in r_cons_less
2018-01-27 23:49:59 +01:00
pancake
cde9613e46
Fix #9254 - Resize crash in af;VVv
2018-01-27 23:39:02 +01:00
Khairul Azhar Kasmiran
c855c0f666
bin.strpurge: can now purge all strings via 'all' ( #9253 )
2018-01-27 23:33:51 +01:00
pancake
b3d5ad69ed
Fix memleak in pdR
2018-01-27 23:33:09 +01:00
pancake
8b22bacad4
Add ao -> family back
2018-01-27 23:32:47 +01:00
Adrian Studer
7516e774b6
typo: priorize -> prioritize ( #9247 )
2018-01-27 23:31:00 +01:00
pancake
2e8884a47d
Fix #9255 - gdb cannot read memory
2018-01-27 23:30:03 +01:00
sivaramaaa
a6d64cfd3b
Fix #9244 , Honor anal.in for aab ( #9250 )
...
* Fix from/to issue for anal.in and zoom.in
* Merge all get_boundaries function and added a prefix param
2018-01-27 23:10:02 +01:00
Khairul Azhar Kasmiran
e019e3cba9
iz-: accept addr as arg ( #9252 )
2018-01-27 15:21:33 +01:00
Adrian Studer
1ef740dbf3
Adding XRAM and IRAM base address to anal ptr ( #9249 )
...
* adding IRAM location offset to fix data XREF
* imm16 (dptr) typically is xram, not iram
* fixed escaping of % in div
2018-01-27 10:25:43 +01:00
pancake
7284005c85
Add stackop in ao
2018-01-27 03:16:50 +01:00
pancake
60c9fbcd4f
Added experimental pdR algorithm that follows only jumps
2018-01-27 02:56:56 +01:00
pancake
8e7ce17396
Implement cV command, fix cv help message
2018-01-27 01:04:59 +01:00
pancake
56461ab220
Implement asm.strip
2018-01-27 00:25:12 +01:00
pancake
5cebb3d7bd
Fix #9248 - core->file is in the process of deprecation
2018-01-26 23:53:00 +01:00
pancake
2a5bb28a4c
Fix anal.m68k plugin name and handle LINK, UNLK instructions properly
2018-01-26 23:44:28 +01:00
pancake
db76ab25af
Fix wao nocj and so? and rename swap-jcmp to recj
2018-01-26 17:34:15 +01:00
Khairul Azhar Kasmiran
e882b810bf
iz-: purge string at current seek via bin.strpurge ( #9245 )
2018-01-26 17:05:25 +01:00
pancake
893b896ca0
Reload SDB instead of create a new one to fix the k path issue
2018-01-26 12:54:05 +01:00
pancake
224419913a
Fix syscall sdb open regression
2018-01-26 12:03:07 +01:00
pancake
ce11904471
Fix mov dx assembler on 16bit mode
2018-01-26 10:17:05 +01:00
fenugrec
a010d09204
sh: fix disassembly of branch opcodes ( #9238 )
...
The displacement field must be sign-extended and multiplied by 2, not
cast to an unsigned type !
2018-01-25 16:25:00 +01:00
Anton Kochkov
66e66b81dc
Fix AppVeyor build
2018-01-25 17:55:49 +08:00
pancake
21ffab96ab
Fix null deref in swift demangler
2018-01-25 05:58:34 +01:00
Adrian Studer
c4ed0924fe
8051: adding missing bit addresses ( #9236 )
2018-01-24 19:54:44 +01:00
Moritz Kiefer
252578e26e
Fix typo in description of prj.simple ( #9237 )
2018-01-24 19:54:21 +01:00
pancake
6b6ff20ca9
Quick fix out for x86.nz assembler
2018-01-24 18:06:27 +01:00
pancake
c20555d51c
Remove hardcoded R2_PREFIX in PE
2018-01-24 15:19:36 +01:00
pancake
5642883db9
Initial rework of sysregs
2018-01-24 15:12:33 +01:00
Anton Kochkov
18c633cb36
Initial work on CPU specific registers
2018-01-24 11:31:55 +01:00
Adrian Studer
2848fe6df2
8051 ESIL DIV, MUL, SUBB and CJNE ( #9234 )
...
* 8051 esil div, mul
* 8051 esil SUBB, CJNE carry
2018-01-24 11:28:18 +01:00
pancake
43420e4671
Add Vb[is] for imports/symbols
2018-01-24 10:47:33 +01:00
pancake
8e5c4164ab
Initial blind implementation of hwbp for native Linux ARM and ARM64
...
- Pretty incomplete, but builds and should work(R) sometimes.
2018-01-24 00:55:44 +01:00
xarkes
788db85562
Remove cast for c++ msvc
2018-01-23 18:32:50 +01:00
xarkes
9666b2433e
Added ifdef cplusplus in r_itv.h
2018-01-23 17:26:28 +01:00
Khairul Azhar Kasmiran
68c8c8455a
bin.strpurge: improved its help ( #9232 )
2018-01-23 14:08:33 +01:00
pancake
5d4439d246
Greenify Travis
2018-01-23 11:21:04 +01:00
Adrian Studer
cdda904a27
8051 esil rework almost done ( #9231 )
2018-01-23 02:04:18 +01:00
pancake
62a6930768
Fix heap overflow in swift demangler
2018-01-22 19:09:16 +01:00
pancake
e5e1f39cba
Fix UAF in RBin.load()
2018-01-22 18:25:46 +01:00
pancake
b57fe402c7
Remove noisy printfs and use more calloc
2018-01-22 17:44:33 +01:00
Khairul Kasmiran
7c8252c6f3
Using the shorter !bang
...
As requested by pancake.
2018-01-22 22:27:33 +08:00
sivaramaaa
d9e8c50e8d
Added warning msg for maxbbsz ( #9230 )
2018-01-22 17:57:55 +05:30
Maijin
5ff5a67643
AVR default CPU ATmega8 to avoid regressions
2018-01-21 19:16:53 +01:00
Khairul Azhar Kasmiran
38a6cc2ff7
bin.strpurge: added support to prevent string purge by prev entries (addr range) ( #9225 )
2018-01-21 16:40:37 +01:00
Maijin
bf1fb2d31f
Expose all the AVR cpu in e asm.cpu
2018-01-21 16:38:41 +01:00
Benno Fünfstück
cceed42134
fix(anal_avr): calculate offset of ldd/std correctly ( #9226 )
...
The offset/not offset bit is the last bit of the first nibble, not the last
of the second nibble (see AVR instruction set manual).
2018-01-21 14:57:41 +01:00
Benno Fünfstück
4726c59ad5
feat(avr): add ATxmega128a4u CPU ( #9227 )
2018-01-21 14:56:22 +01:00
Khairul Kasmiran
36724ebd08
Added some continues
2018-01-21 10:28:08 +08:00
sivaramaaa
cffb7eba22
Drop ujump hacks ( #9224 )
...
* Drop ujump hack
* Remove anal.pltujmp config var
2018-01-20 19:48:51 +05:30
sivaramaaa
3e54b96643
Fix #9221 , fix overflow in pdc ( #9222 )
2018-01-20 11:34:30 +01:00
Khairul Azhar Kasmiran
56eee45336
bin.strpurge: added support to prevent string purge by prev entries (single addr) ( #9223 )
2018-01-20 11:34:05 +01:00
pancake
88711b0164
Add scr.color.grep eval var
2018-01-19 19:50:29 +01:00
Adrian Studer
11f2b8c5eb
8051 esil cleanup ( #9220 )
2018-01-19 19:27:04 +01:00
mcrlc
42973a233e
Remove duplicate code from argument error checking
2018-01-19 16:15:34 +01:00
mcrlc
a61d8f1d19
Add on+ and ons+ support in cmd_open.c
2018-01-19 16:15:34 +01:00
pancake
be5f6a87d2
Fix last covs
2018-01-19 16:05:10 +01:00
pancake
7f21683630
Fix typo
2018-01-19 15:56:17 +01:00
pancake
fe65fd8095
Fix #9213 - double free in rop search
2018-01-19 15:45:34 +01:00
pancake
ae0fba0663
Fix dir.magic
2018-01-19 15:38:20 +01:00
Khairul Azhar Kasmiran
9f258ebe1b
bin.strpurge: added support for ranges ( #9215 )
2018-01-19 15:04:23 +01:00
Khairul Azhar Kasmiran
89c309a900
bin.strpurge: added fine-grained purging of strings to iz ( #9210 )
2018-01-17 20:34:53 +01:00
pancake
8320dbd2af
Fix regressions
2018-01-17 15:56:43 +01:00
emvivre
0104b092fc
Add VMPTRST operator for x86 assembler (Store Pointer to Virtual-Machine Control Structure) ( #9208 )
2018-01-17 01:14:21 +01:00
Adrian Studer
c6cb2eb7d4
8051: fix esil for mov direct,direct ( #9207 )
2018-01-17 01:12:13 +01:00