pub struct BinaryView {
pub handle: *mut BNBinaryView,
}Expand description
handle: *mut BNBinaryViewSource§
Source
Save the original binary file to the provided file_path along with any modifications.
WARNING: Currently there is a possibility to deadlock if the analysis has queued up a main thread action
that tries to take the FileMetadata lock of the current view, and is executed while we
are executing in this function.
To avoid the above issue use crate::main_thread::execute_on_main_thread_and_wait to verify there
are no queued up main thread actions.
Source
Save the original binary file to the provided FileAccessor along with any modifications.
WARNING: Currently there is a possibility to deadlock if the analysis has queued up a main thread action
that tries to take the FileMetadata lock of the current view, and is executed while we
are executing in this function.
To avoid the above issue use crate::main_thread::execute_on_main_thread_and_wait to verify there
are no queued up main thread actions.