Commit Graph

9099 Commits

Author SHA1 Message Date
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
pancake
f10c8ec075 Fix #3296 - Thumb ELF entrypoint assumption 2015-09-17 01:32:13 +02:00
pancake
f7905cdd1b Fix memleak in ood and better ppc-esil 2015-09-17 01:25:00 +02:00
pancake
e9808cdd67 Refactor the powerpc anal plugin (-53LOC) 2015-09-17 00:38:11 +02:00
pancake
aa89322a87 Initial ESIL for PowerPC, updated reg profile 2015-09-17 00:20:57 +02:00
pancake
5d874bc8d5 Remove io.zeromap 2015-09-16 23:35:11 +02:00
user
7137d5ee79 Syncing debug maps before checking validity of an breakpoint address and fixed broken command in r_core_cmd_repeat. 2015-09-16 23:32:03 +02:00
pancake
9f91443552 Add more op->type for powerpc 2015-09-16 23:31:38 +02:00
pancake
7f91e7c252 Initial import of ppc.pseudo 2015-09-16 22:31:12 +02:00
pancake
f807abff7c Honor asm.invhex in avr and ppc.cs 2015-09-16 22:20:14 +02:00
condret
c79b31ef3b apply pc-pre-increment for gb-esil 2015-09-16 20:22:12 +00:00
condret
670cf2362b some anal-snes 2015-09-16 20:16:06 +00:00