Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A light-weight and efficient disassembler written in C for the ARMv7 instruction set.

License

NotificationsYou must be signed in to change notification settings

jbremer/darm

Repository files navigation

A light-weight and efficient ARMv7/Thumb/Thumb2 disassembler written in C withPython bindings. VFP/Neon/SIMD (it's all the same) support is upcoming!

Warning: project is no longer maintained, a better alternative might becapstone.

Example code

Using thedarm library is fairly straightforward - just call the rightfunction with the right parameter and you're all set. Following is an exampleof disassembling an ARMv7 instruction in C and printing its stringrepresentation to stdout.

#include<stdio.h>#include"darm.h"intmain(){darm_td;darm_str_tstr;if(darm_armv7_disasm(&d,0x42424242)==0&&darm_str2(&d,&str,1)==0) {printf("-> %s\n",str.total);    }}

And the exact same program, but using the Python bindings.

importdarmprintstr(darm.disasm_armv7(0x42424242))

License

The darm library is released under theBSD 3-Clause License, also knownasBSD Simplified.

Support & Contact

For support and contact, feel free to check out theofficial Darm website, the IRC channel,#darm at freenode,or you can always reach me on my email:jurriaanbremer@gmail.com.

Acknowledgement

(See also theContributors page ondarm.re.)

Many thanks toValentin Pistol without whom this project would neverhave seen the light of day.

Thanks toPeter Geissler,Jay Little,Michael Laurenzano,Jonathan Tetteroo,Joshua Drake, andrednovae for contributions, suggestions,additional tests, etc.

About

A light-weight and efficient disassembler written in C for the ARMv7 instruction set.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp