Commit Graph

510 Commits

Author SHA1 Message Date
pancake
15d9563014 Fix #4313 - & in function switches fcn->bits instead of global ones 2016-03-15 11:47:13 +01:00
pancake
6d204b1bc3 Fix another whitespace issue in pd 2016-03-14 00:15:51 +01:00
pancake
ad2df38fca Fix onespace issue in pd 2016-03-13 21:56:46 +01:00
pancake
bd11cf8f81 Fix pd regression with spaces at the end 2016-03-13 03:13:27 +01:00
pancake
4fc392eefa Remove dead code 2016-03-12 02:36:37 +01:00
Riccardo Schirone
8fa47870b2 core/disasm: at should not depend on i, that is used as index for buf
"i" was reset to 0 when the buffer is moved, so "at" pointed back to an
already printed instruction. With this patch "at" is calculated based on
"k", a new index that is never reset and simply indicates the delta from
the starting address.
2016-03-09 12:24:10 +01:00
pancake
342961a3c5 Fix #4251 - Blank space using fcnlines=0 and flgoff=1 2016-03-09 10:08:53 +01:00
pancake
bb5d4d7b56 Fix #4261 - duplicated offset with asm.spacy 2016-03-09 09:53:53 +01:00
pancake
bfdde3f565 Remove flag listing issues with asm.functions=false 2016-03-09 09:50:30 +01:00
pancake
92ad561fea Fix latest coverities 2016-03-05 20:46:04 +01:00
pancake
6ed05a7812 Fix pd regression 2016-03-04 01:15:20 +01:00
pancake
ec3ee44ae0 Implement asm.flgoff and asm.spacy + minor optimization 2016-03-04 00:33:24 +01:00
Riccardo Schirone
ec6b55527c core/disasm: fix set of last row offset
core/visual: reset cursor position on 'u'/'U'/'o'/'V'.
2016-03-02 11:29:13 +01:00
Riccardo Schirone
a87a77f9e4 core/disasm: asm.bbline should be based on RAnal
The BasicBlock is a concept you can have only with analysis info. This
ensure that the displayed result is correct.
2016-02-24 23:00:41 +01:00
Riccardo Schirone
e727e662db core/disasm: fix bbline reflines 2016-02-24 23:00:41 +01:00
pancake
607491e1ce More fixes for pd@x:90 variants. New tests in r2r 2016-02-22 23:53:29 +01:00
pancake
8d60ef61dc Fix #4110 - Fix pd@x:90 issue 2016-02-22 23:45:36 +01:00
William Robinet
d3ab5f38aa Remove execution bit from source files 2016-02-16 23:21:46 +01:00
William Robinet
0c7cacc2dc Fix typos 2016-02-16 23:21:24 +01:00
pancake
0e69bfd541 Add default noreturn functions, adjust xrefs and fix regression in type 2016-02-16 03:24:47 +01:00
pancake
de4cbb47ad Show flags referenced by the Cd 4|8 pointers 2016-02-16 02:50:02 +01:00
pancake
384cfb1042 Fix last coverities 2016-02-16 02:08:09 +01:00
Riccardo Schirone
82385bdbd1 core/disasm: ds->addr can change, addr remains always the starting value 2016-02-11 11:17:00 +01:00
Álvaro Felipe Melchor
feaaab517b demangle afl and disassembly 2016-02-11 01:32:36 -06:00
Riccardo Schirone
b4fda922cd libr/core: calculate the offset of each disasm row
util/print: fix bug in r_print_row_at_off

core/disasm: fix bug when setting the row offset of last line
2016-02-11 00:14:36 -06:00
Riccardo Schirone
94123f158c core/disasm: review screen_bounds meaning
core/visual: enable screen_bounds only on default modes
2016-02-11 00:14:36 -06:00
pancake
6b79f915df Fix #4095 - VdW chopping down to 32bits 2016-02-10 11:45:25 -06:00
pancake
c9779da737 Fix iopa tests 2016-01-27 03:33:52 +01:00
pancake
75d7faf35e Fix regression in comments in disasm 2016-01-27 02:49:40 +01:00
pancake
86b2cd3812 Fix #3958 - asm.emu obeys asm.cmtright 2016-01-27 02:35:45 +01:00
pancake
bcb065e5dd Fix #4031 and #4030 - asm.jmphints independent from asm.comments 2016-01-27 02:25:25 +01:00
condret
e9aa1bfa80 hardening 2016-01-20 16:13:30 +00:00
condret
ccab168cb5 fix a memleak and implement esil.stacksize for @crowell 2016-01-19 23:36:21 +00:00
pancake
3b4fc2cf9a Fix #3950 - Implement asm.emustr 2016-01-15 00:17:28 +01:00
pancake
beb2dd2f3f Enhance asm.nodup to support invalid instructions and count them 2016-01-11 22:28:22 +01:00
pancake
5ed63681b4 Fix #3921 - do not show dupped instructions with asm.nodup 2016-01-10 22:31:20 +01:00
Riccardo Schirone
a20562d6e8 util/print: fix glitch when cursor is on . at the end of hexpairs
* fix visual instruction alignment when using asm.bytespace
2016-01-08 23:33:57 +01:00
Álvaro Felipe Melchor
c939ba7da9 Fix #3852 & changes in midflags 2015-12-31 02:10:18 +01:00
Judge Dredd (key 6E23685A)
60ecab6324 fix anal.bbline with scr.utf8 bug 2015-12-29 17:59:15 +01:00
pancake
6a274bd3c6 Initial import pds|pdsf to disassemble only strings 2015-12-21 15:53:53 +01:00
pancake
f264b1d1e3 Fix pdf on folded function issue 2015-12-16 15:30:13 +01:00
pancake
25892b084a Show comments in folded functions 2015-12-15 01:03:42 +01:00
pancake
2f9623786f More fixes for the folded functions in disasm 2015-12-15 00:37:33 +01:00
pancake
d0444bbe15 Fix multiple folded functions glitch in disasm 2015-12-15 00:18:44 +01:00
pancake
1f647dd2e6 Refix #3785 2015-12-14 12:11:34 +01:00
pancake
a3d8a3a50d Fix asm.emu regression 2015-12-14 10:57:50 +01:00
pancake
db5a76f8b3 Initial support for fold/unfold functions with afF and Vz 2015-12-14 10:19:07 +01:00
pancake
8dedcf406b Fix #3785 - Fix refline colors in arg/var with custom color theme 2015-12-03 14:48:15 +01:00
Riccardo Schirone
5311241537 core/disasm: add '~' mark when midflags is into effect
'~' is used to notify the user that the instruction is using some bytes
of the next instruction because of asm.midflags.
2015-11-29 12:25:31 +01:00
Riccardo Schirone
fce421b0f0 core/disasm: change cursor when in the middle of an instruction
fix #3748
2015-11-27 20:37:19 +01:00