-
If I've done some patching of an executable externally, is there a convenient way to reload it into an existing BNDB? |
Beta Was this translation helpful? Give feedback.
Answered by
plafosse
Jul 18, 2023
Replies: 2 comments 1 reply
-
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. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
alexrp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No there's no way of doing this through the UI. You could pretty easily do this through the API.
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.