Skip to content

Reload binary into existing BNDB? #4387

Answered by plafosse
alexrp asked this question in Q&A
Discussion options

You must be logged in to vote

No there's no way of doing this through the UI. You could pretty easily do this through the API.

bndb = load("myfile.bndb")
my_patched_file = open("my_patched_file").read()
bndb.parent_view.file.write(my_patched_file)

Warning though this won't cause the initial BinaryView parsing to be done again. So if you modified symbol tables or segments/sections then that wouldn't be updated by the above method.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by alexrp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants