Skip to content

ipfans/lldbinit-arm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lldbinit-arm

Similar implementation of .gdbinit from fG! for lldb in python. Based on lldbinit.

中文说明

x86_64:

lldbinit-arm x86_64

ARM: lldbinit-arm arm

Install

How to install it:

cp lldbinit.py /Library/Python/2.7/site-packages

in $HOME/.lldbinit add:

command script import lldbinit

Help

Commands which are implemented:

	stepo			- step over some instructions (call/movs/stos/cmps/loop)
	dd 				- dump hex data at certain address (keep compatibility with .gdbinit)
   	      			this shoud be db command
   	ctx/context		- dump registers and assembly
	lb	    		- load breakpoints from file and apply them (currently only func names are applied)	 	
	u 				- dump instructions at certain address (SoftICE like u command style)
	ddword	    	- dump data as dword 
	dq	    		- dump data as qword
	dw	    		- dump data as word
	iphone	    	- connect to debugserver running on iPhone 

If you wanna inline help, just try this:

(lldb) script help(lldbinit.dd)
Help on function dd in module lldbinit:

dd(debugger, command, result, dict)
    dump hex data at certain address.
    
    Example:
        dd 0x100000ef0

About

Add arm support to lldbinit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published