7800 Commits

Author SHA1 Message Date
pancake
3998132e7b Fix #3357 - invalid range error when analysing a 3 byte length file 2015-09-23 17:57:40 +02:00
pancake
ae2713e944 Fix PE regression 2015-09-23 15:23:36 +02:00
pancake
d1f3dc3e08 Some more fixes for exports and PE 2015-09-23 15:01:36 +02:00
pancake
46f8561986 Fix rabin2 -E crash and filter in elf 2015-09-23 13:24:10 +02:00
pancake
72d442931d Fix #3191 - Fix // to repeat last search 2015-09-23 13:04:15 +02:00
pancake
bbf7a2221c Fix #3270 - Implement esil.exectrap 2015-09-23 12:46:22 +02:00
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
condret
27e99bc7c2 fix #3346 2015-09-22 22:17:32 +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
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
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
NighterMan
a08dae55af esil x86: fix for rip relative references no longer required
The fix required for relative rip references since 371ebd35d884796b08251e38770c8cdc790f3045 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
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
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
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
ec0b19e5f8 Fix thumb entry assumption (thx @ret2libc) 2015-09-17 11:13:34 +02:00