Escolar Documentos
Profissional Documentos
Cultura Documentos
Introduction...........................................................................................................................................2
Requirements.........................................................................................................................................3
History...................................................................................................................................................4
Warranty................................................................................................................................................5
Credits...................................................................................................................................................6
Contact...................................................................................................................................................7
Keyboard shortcuts................................................................................................................................8
Structure tutorial....................................................................................................................................9
Command reference.............................................................................................................................11
ba.....................................................................................................................................................11
bp....................................................................................................................................................11
bpdll................................................................................................................................................12
del_struct.........................................................................................................................................12
dup..................................................................................................................................................13
help.................................................................................................................................................13
extnd...............................................................................................................................................14
fold..................................................................................................................................................14
unfold..............................................................................................................................................15
lstruct..............................................................................................................................................15
ls......................................................................................................................................................15
sym..................................................................................................................................................16
struct...............................................................................................................................................16
py....................................................................................................................................................16
undefine..........................................................................................................................................17
Introduction
vcredist_x64.exe
http://www.microsoft.com/en-us/download/details.aspx?id=40784
History
v1.1.0
• added debugger memory snapshot feature
• added debugger exception handling settings
• added new command: bpdll
• improvements, bug fixes
v1.0.0
• added debugger capabilities
• added new commands: bp, ba
• switched to the Capstone disasm engine
• updated Qt to 5.4.0
• switched to Visual Studio 2013
v0.8.0
v0.7.0
v0.6.0
This software is provided as-is, without warranty of ANY KIND, either expressed or implied, including
but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
The author shall NOT be held liable for ANY damage to you, your computer, or to anyone or anything
else, that may result from its use, or misuse.
• Qt 5 framework - www.qt.io
• Capstone disassembly framework - www.capstone-engine.org
Contact
In case of bugs, problems, feature request, etc. feel free to contact me.
Regards,
cyberbob
arkdasm@gmail.com
Keyboard shortcuts
Disassembly Window
Navigation
Edit
Miscellaneous
Application shortcut
account_t struct
code db ?
id dd ?
name db 32 dup(?)
dataPtr dq ?
account_t ends
Press “Create new” to define the structure. Finally use struct command to mark an address as structure.
Struct command syntax: struct <struct name> <variable name> <address>
For example:
struct account_t account 0000000140003020
Before
After
Command reference
ba
Description: set hardware breakpoint on access (on data execute, write, read/write).
Monitored address can be a range of 1, 2, 4, or 8 bytes, except breakpoint on execution which must be
1 byte.
Example:
ba w4 0000000140001040
ba e1 0000000140001010
ba rw8 0000000140001020
ba r8 0000000140001020 (the same as ba rw8 command)
bp
Syntax: bp <address>
Example:
bp 0000000140001040
bpdll
Example:
bpdll c:\windows\system32\psapi.dll
To break on all dll's loaded from c:\program files\ use the command:
bpdll c:\program files\*
del_struct
Description: Delete structure and undefine all variables associated with the struct.
Example:
del_struct client_t
dup
Description: create byte array (duplicate byte). For the command to succeed bytes must be unexplored
and have same the value. If this command fail bytes are most likely mark as resource in this case use
undefine command and then dup command.
Example:
help
Syntax: help
Description: extend section data size from raw size to virtual size and reload.
Use ls (list segments) command to find the section number.
By default ArkDasm loads only raw data from PE section, however it may happen that some variables
are present in section virtual space hence some commands will fail e.g. struct command will fail,
if the variable is not present in section raw data. Extnd command solves this issue.
Example:
extnd 2
fold
Example:
fold 0000000000011000 20
fold 0000000000011000 0000000000011020-0000000000011000
unfold
unfold 0000000000011000
lstruct
lstruct *
lstruct Conte*
ls
Syntax: ls
Example:
sym *@8
sym *Load*
struct
Example:
py
Example:
py script.py
undefine
Example: