Commit Graph

9070 Commits

Author SHA1 Message Date
pancake
34811ad84e Fix #2416 - Add iE and rabin2 -E to list exports 2015-09-23 12:23:03 +02:00
pancake
07944927c5 Add 32bit sub-regs for the arm64 analysis profile 2015-09-23 11:40:50 +02:00
pancake
c30eaf5e57 Fix #2337 - Do not show config vars in /? 2015-09-23 10:40:12 +02:00
condret
f584986b73 rename some stuff in anal_6502 2015-09-23 10:25:02 +00:00
Ricardo Quesada
34e305e942 6502 esil: more opcodes and some fixes
opcodes lsr,asl implemented
stx,sty fixed
stack pointer: fixed
flags: fixed
passes 6502 esil regression tests (see commit in regression tests)
2015-09-23 10:23:20 +00:00
pancake
39abb5f89c Update capstone from git 2015-09-23 02:01:08 +02:00
pancake
5449c8d889 Update sdb from git 2015-09-23 01:56:05 +02:00
condret
27e99bc7c2 fix #3346 2015-09-22 22:17:32 +02:00
Riccardo Schirone
7c1129103d CONTRIBUTING.md: first version 2015-09-22 22:17:02 +02:00
Riccardo Schirone
4674f1c32b Makefile: add osx-sign-libs target so that sys/build.sh will work
* doc/fortunes.tips: fix and old tip
2015-09-22 15:25:56 +02:00
Vladislav Shtepin
4807826bb8 Make build.sh sign libs on OSX 2015-09-22 14:50:10 +02:00
qnix
df4be2e01d 6502: pseudo disassembler
Indentation and copyright

indentation fixed, [] instead of *
2015-09-22 14:31:59 +02:00
pancake
a35304acac Task resume on step too 2015-09-22 10:05:37 +02:00
Ole André Vadla Ravnås
f47da1c545 Fix fork_and_ptraceme() on Darwin
It's better to let `posix_spawnp()` spawn the child process instead of
forking ourselves.
2015-09-22 10:03:16 +02:00
Ole André Vadla Ravnås
e2ab6c3ab0 Fix the R_DEBUG_* defines on iOS arm
Also consolidate defines for 32- and 64-bit arm archs.
2015-09-22 10:03:16 +02:00
Ole André Vadla Ravnås
8f4234bb72 Fix minor inconsistency in xnu_reg_read() 2015-09-22 10:03:15 +02:00
Ole André Vadla Ravnås
c8896847f0 Fix xnu_reg_write() on iOS arm and arm64 2015-09-22 10:03:15 +02:00
pancake
b39116d21c Fix build on Linux 2015-09-22 02:41:54 +02:00
pancake
486c88954f Darwin: start debugging suspended. Fixes in lm32 2015-09-22 02:28:04 +02:00
pancake
196d7db68d Honor asm.bits=64 in ios.dbg, very wip much test 2015-09-22 01:49:14 +02:00
pancake
3614547d74 Fix CVE-2015-2331 in libzip 2015-09-22 00:59:01 +02:00
pancake
015dfe0f35 Fix regset for iOS debugger 2015-09-22 00:34:58 +02:00
Riccardo Schirone
2a7c35c435 core/disasm: increment PC before parsing esil instruction 2015-09-22 00:11:33 +02:00
pancake
5d0bdd4481 Enhacements to ease the iOS debugger development 2015-09-21 23:40:17 +02:00
Ole André Vadla Ravnås
259efd66ee Use the the unified thread state API on iOS arm and arm64 2015-09-21 22:42:10 +02:00
pancake
4cc9e6fe99 Another fix for ios-sdk.sh 2015-09-21 22:42:02 +02:00
NighterMan
a08dae55af esil x86: fix for rip relative references no longer required
The fix required for relative rip references since 371ebd35d8 as the pc is now incremented prior to evaluating the ESIL expression.
2015-09-21 22:24:54 +02:00
Ricardo Quesada
93832da444 6502 esil: adds inc,dec,and,or,xor
...and N,Z flags
...improves BRK
...sp is a 16bit reg

and other fixes
2015-09-21 22:23:44 +02:00
Felix Held
c43fedd9e5 lm32: fix instr->op valid range detection
instr->op is always < RAsmLm32OpcodeNumber, but this additional check
shouldn't hurt
2015-09-21 22:22:20 +02:00
Felix Held
05b388bbf2 fix lm32_op_raise decode 2015-09-21 22:22:20 +02:00
pancake
a49cdb65d5 Fix ios-sdk.sh 2015-09-21 22:21:41 +02:00
Riccardo Schirone
679a5457eb core/graph: use g->movspeed when scrolling from the keyboard
Fixes a regression. The 'w' command in VV wasn't working anymore. Now it
switch again between speed 1 and speed graph.scroll, as expected.
2015-09-21 16:31:48 +02:00
Riccardo Schirone
e23282707f CODINGSTYLE: move doc/syntax.md in the root directory and rename it
* CODINGSTYLE: specify that tabs are considered as 8 chars
* doc/fortunes.tips: remove old fortune. asm.follow doesn't exist
                     anymore
2015-09-21 14:58:30 +02:00
pancake
74ccde1168 Fix softmagic crash in PE bin (reported by @daniel-rome) 2015-09-21 12:51:01 +02:00
NighterMan
465a0338c3 Fix for #3329
Search cmds do not honor search.from/to when searching in raw binaries
2015-09-21 00:01:18 +02:00
Felix Held
db39374b8b add lm32 disassembly support 2015-09-20 23:58:12 +02:00
pancake
6b1dcee869 Fix #3325 - sys/install.sh tries to sign 2015-09-20 23:16:09 +02:00
Maijin
d298ca5dbc Initial support for NES file 2015-09-20 20:10:03 +02:00
NighterMan
6a1c4d298d esil x86: add support for loop, loope and loopne 2015-09-20 20:09:02 +02:00
pancake
dfebd35de8 Fix #3250 - aed -> aei- 2015-09-19 19:54:49 +02:00
pancake
a3198522a4 Fix #3252 - Implement esil trap command callbacks 2015-09-19 19:39:25 +02:00
pancake
fb622d66ed Handle iOS/WatchOS/Linux SVC imm in REgg 2015-09-19 19:13:22 +02:00
pancake
0d4f095071 Update boolean var on every anal plug 2015-09-18 20:06:12 +02:00
pancake
e9a7be9c1a Fix two more b64 with -1 length things 2015-09-18 19:37:07 +02:00
Jeffrey Crowell
4ae29be73a base64 0 doesnt do strlen any more 2015-09-18 13:01:04 -04:00
Jeffrey Crowell
79c40740d9 treat 0 as length 0 -1 as strlen in base64 2015-09-18 12:38:57 -04:00
Ricardo Quesada
695e5d094c anal6502: flags are defined as gpr and not as flg...
... and better esil for for 6502 as well.
esil expressions are not finished yet.

Not regression tests for the moment (t.esil) since
I still need more info
2015-09-18 17:18:44 +02:00
Ricardo Quesada
6966b2b6f3 adds 6502 opcode description
to be used with `?d`
eg:
`?d cli`
2015-09-18 17:17:24 +02:00
Jeffrey Crowell
7d51fe7455 fix offbyone in base64.
base64encode("hello") should not include the null terminator
2015-09-18 10:04:46 -04:00
yetmorecode
4d46ded1c5 Fixed type issue in mingw64 build. 2015-09-18 02:40:09 +02:00