-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement plugins for naked-asm #118
Labels
Comments
I'm the main developer of naken_asm.. if there is anything I can do to help let me know. |
Would you like to write those plugins? It is basically to write few lines of c code for each arch adding the glue code that interfaces the plugin struct exposed with the nakedasm api. Those should be available via r2pm. This way using nakedasm from r2 would be possible and you can reuse all our testsuite to compare with other assemblers
… On 25 Jul 2017, at 02:38, Michael Kohn ***@***.***> wrote:
I'm the main developer of naken_asm.. if there is anything I can do to help let me know.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I can look into it. I've been thinking of having the ability for naken_asm to be accessible as library (original thinking was for having the possibility of a text editor with the built in assembler). This might be a good excuse to work on that. |
sounds good! actually libr/asm provides the high level api for a generic assembler, so the only primitive required to write a plugin is to get a string out of an array of bytes with a specific length and a specific program counter. the rest is handled by r2 side.
if you need a starting point check any simple example i would go for the asm_baleful.c or any other one in libr/asm/ of the radare2-extras repo
… On 26 Jul 2017, at 14:28, Michael Kohn ***@***.***> wrote:
I can look into it. I've been thinking of having the ability for naken_asm to be accessible as library (original thinking was for having the possibility of a text editor with the built in assembler). This might be a good excuse to work on that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#118 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA3-lryEMVc1x2BGp4ZeDr6LTVn5zCcKks5sRzEHgaJpZM4NK6af>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We cant put this in core becauase of the license, but fits good in radare2-extras
https://github.com/mikeakohn/naken_asm
The text was updated successfully, but these errors were encountered: