9857 Commits

Author SHA1 Message Date
pancake
8eabe785fe Boolify RDebug API 2015-12-04 02:57:56 +01:00
pancake
cc402a76c5 More refactorings towards a ptrace-free iOS/OSX debugger 2015-12-04 02:44:36 +01:00
pancake
fb8345276a Kill child if no perms to debug after spawn in OSX 2015-12-04 00:21:06 +01:00
pancake
0aa5724712 Fix #3793 - Fix ARM B/BL/CB sign extend jump destinations 2015-12-03 23:25:53 +01:00
pancake
9442ec43fc Fix make install issues with r2pm 2015-12-03 17:02:13 +01:00
pancake
c00763289f Fail if no npm/node installed in retdec 2015-12-03 16:10:55 +01:00
pancake
8dedcf406b Fix #3785 - Fix refline colors in arg/var with custom color theme 2015-12-03 14:48:15 +01:00
Dima Turchenkov
fcbbb5e12e option: analyze function references as well if function is broken 2015-12-03 12:41:52 +01:00
Dima Turchenkov
9a929fff84 set function size as length of continuous sequence of bbs 2015-12-03 12:41:52 +01:00
lzmths
fb6370c421 Cleaning conditional directives that break statements. 2015-12-03 12:35:10 +01:00
lzmths
1e32eaf4aa Refactoring conditional directives that break parts of statements. 2015-12-03 12:35:10 +01:00
mrmacete
239dec9a87 Delay slot using goto repeat
+ this permits to handle invalid instructions fairly in the delay slot
2015-12-02 12:44:13 +01:00
mrmacete
81cbe04c7c implemented delay slot in esil_step
+ the delayed instruction is executed first
+ and then flow continues normally
2015-12-02 12:44:13 +01:00
fabs
bc0bd43be6 Honor anal.depth in aac. 2015-12-01 21:17:29 +01:00
pancake
b331ba86f7 Fix problem with C++11 2015-12-01 13:10:54 +01:00
pancake
40e08dbd89 Get rid of _Bool 2015-12-01 12:39:12 +01:00
pancake
bf54c766f3 6502 is also for Tamagotchis 2015-12-01 12:06:10 +01:00
mrmacete
64fb61706d fixing coverity defect CID 1341049
+ it was because mips.operands has length 8
2015-11-30 09:33:40 +01:00
Ricardo Quesada
79129d8574 Adds commodore VICE emulator to supported file formats 2015-11-30 00:11:54 +01:00
pancake
c4e0ac2885 Fix rabin2 -O sync issue and update manpage 2015-11-30 00:10:28 +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
Ricardo Quesada
e4182b943d More symbols for the VSF file format parser
- removed verbose debug eprints
- Fixes warnings and compilations errors
- more symbols: SID and VIC
- removes NMI/IRQ symbols.
- removes IRQ entry
2015-11-29 12:18:00 +01:00
Ricardo Quesada
f5c65f5da8 Adds VSF (VICE Snapshot File) support as a bin format
VICE is the most popular C64/C128 emulator and allows
users to save snapshots of the games.

Analyzing VICE snapshots are more useful than
analyzing .prg (the "standard" c64 program)
because usually all .prg are compressed, and
are decompressed in runtime.

commit 796297c6cd3a099fd17ad3715b4ed5646a6a9e65
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Fri Nov 27 12:28:58 2015 -0800

    no sbd for the moment

commit c785b22318c3cacf7771ab21198aa759777224af
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Fri Nov 27 10:06:12 2015 -0800

    bank 0 and bank 1

commit 63304876b6f84df001c39f5b35084ff6e61bc01b
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Fri Nov 27 09:47:12 2015 -0800

    c128 includes basic, monitor and editor sections

commit 1a8995a644df6d9e871a586e57c3cd8e00cce7ae
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Thu Nov 26 14:45:36 2015 -0800

    c128 roms...

    uses sdb which is not used at all
    more vic symbols

commit 8a29c3c7736fcf689b9248e65093277347ae38bc
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Tue Nov 24 10:39:44 2015 -0800

    ram last entry

commit fca46301b2fd68e230cf547047a5278e098c9340
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Tue Nov 24 00:10:20 2015 -0800

    more tidy code

commit 03b8a12b319bd0eb9f21b60d882da2030c2c35f1
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Mon Nov 23 22:52:20 2015 -0800

    VSF works for C64... still many things to fix

commit a118a930cb40441b412db916deb4c0ca30e30309
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Mon Nov 23 13:37:32 2015 -0800

    initial commit... compiles and detects VICE

    but nothing more
2015-11-29 12:17:05 +01:00
pancake
4e9916942c Update capstone 2015-11-28 11:42:28 +01:00
mrmacete
c6f7dab14c mips: unsigned immediates 2015-11-28 10:24:03 +01:00
mrmacete
89fb2d29c5 mips: fixed neg / negu 2015-11-28 10:24:02 +01:00
jvoisin
fc8d6cf5e2 Improves travis-ci build time
- Compilation is cached with ccache
- Apt packages are cached too
- Make uses the `-j2` flag since the container has 2 cores
2015-11-28 00:12:25 +01:00
pancake
ad6baf0824 Add rpath and scnperm in rabin2 -O 2015-11-27 20:37:27 +01:00
Riccardo Schirone
065728c42d parse/p: fix asm.relsub when replaced string is longer than original
fix #3768
2015-11-27 20:37:19 +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
Riccardo Schirone
3989c94c5a core/disasm: fix some corner cases in the cursor display
fix #3747
2015-11-27 20:37:18 +01:00
Álvaro Felipe Melchor
90e338e934 added autocompletion for pfv pfj and fix invalid frees 2015-11-27 16:47:25 +01:00
Maijin
6baaace502 Add entrypoint for SPC700 loader
Add entrypoint for SPC700 loader
2015-11-27 14:03:55 +01:00
pancake
c0f1184ae0 Simplify two return conditions 2015-11-27 13:09:38 +01:00
Dima Turchenkov
05eb32fdd8 Trash filter for data references 2015-11-27 13:06:13 +01:00
Dima Turchenkov
7f935b1114 Fix for broken afna 2015-11-27 13:06:13 +01:00
Dima Turchenkov
898a00d1d4 String search optimization 2015-11-27 13:06:13 +01:00
Dima Turchenkov
c09208909f Small fix for correct return code 2015-11-27 13:06:13 +01:00
Dima Turchenkov
cded3acaba Search string references in data references option 2015-11-27 13:06:13 +01:00
Dima Turchenkov
03c5d606e0 Don't follow data references by default 2015-11-27 13:06:13 +01:00
Dima Turchenkov
68bae51e3c Follow data references for code coverage 2015-11-27 13:06:13 +01:00
Dima Turchenkov
8da849c451 enable jmp/cjmp refs only if they are out of the function boundaries 2015-11-27 13:06:12 +01:00
Dima Turchenkov
3e6b474ca5 Don't jump above function address option 2015-11-27 13:06:12 +01:00
Maijin
e68ed8dd91 Add support for SPC700 file format 2015-11-27 13:03:18 +01:00
mrmacete
3b14470e3f + mips anal: a ';' killed t register 2015-11-27 13:01:56 +01:00
mrmacete
fec89e62fe mips anal improvements
+ extended ESIL coverage
+ testing and bugfix
2015-11-27 13:01:56 +01:00
Riccardo Schirone
0407aab9c5 core/core: add afvn autocompletion
cons/dietline: add support for autocompletion in the middle of the
input, without destroying the other part of the string
2015-11-27 12:57:39 +01:00
Riccardo Schirone
ac3f94217a core/cmd_anal: show help on afv? and afa? even when not in a fcn 2015-11-27 11:47:24 +01:00
Jeffrey Crowell
8878a357a1 fix leak reported by COV 2015-11-27 00:45:06 -05:00
pancake
dd8b7b1e04 Handle PIC field in ART file format 2015-11-26 13:18:11 +01:00