Commit Graph

9060 Commits

Author SHA1 Message Date
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
NighterMan
edd6c1814f Fix for esil x86 idiv improper modulus calculation 2015-09-18 01:39:02 -04:00
Ricardo Quesada
557d45bca1 Add 6502 analysis module
Include all documented 6502 opcodes
Esil expression is still work in progress
Fix BRK opcode->size in 6502_disas
2015-09-18 00:09:43 +02:00
pancake
7f0a116830 Fix esil's genmask for 64bit 2015-09-17 23:23:30 +02:00
Jeffrey Crowell
92226d0650 Rename r_config_swap() to r_config_toggle()
closes #3309
2015-09-17 14:20:51 -04:00
pancake
f3ea9e63fe Fix cygwin build for capstone 2015-09-17 12:34:22 +02:00
pancake
ec0b19e5f8 Fix thumb entry assumption (thx @ret2libc) 2015-09-17 11:13:34 +02:00
pancake
90f8ec4ff8 Fix #3297 - make install after make symstall 2015-09-17 11:11:24 +02:00
pancake
4c53b919db Fix #3308 - support string and files in rarun2 input 2015-09-17 10:46:11 +02:00
Jeffrey Crowell
9f892f1eed fix some COV 2015-09-17 00:48:07 -04:00
pancake
0cf36cbc6d Fix #3289 - Fix graph arg/local in JSON 2015-09-17 01:47:40 +02:00