Skip to content

How to add/modify a function with instructions from plugin #1785

Answered by amimo
jiaton asked this question in General
Discussion options

You must be logged in to vote

if you just want to patch the binary, here is my approach:

use "bv.arch.assemble(asm_str) " or keystone in case some instruction sets that are not supported by binja to get the machine code of the asm_str, then use "bv.write" to patch the binary, reanalyze these patched fucntions.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jiaton
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by psifertex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants