What is the feature you'd like to have?
I want the equivalent of UIContextNotification::OnBeforeSaveFile/OnAfterSaveFile, but for headless non-UI contexts.
Is your feature request related to a problem?
There are many things this could enable, but right now I want to make views add dependency files to their project files when you save a database: #8169, and also for the shared cache (no direct issue#).
Are any alternative solutions acceptable?
All places that save a file could have to call a function to trigger these callbacks? That is not very likely to work. I could implement the functionality I want in a UI plugin, though that will break headless support and also would be very janky.
Additional Information:
There is a major issue with this and Projects: Vector35/binaryninja#1521
What is the feature you'd like to have?
I want the equivalent of UIContextNotification::OnBeforeSaveFile/OnAfterSaveFile, but for headless non-UI contexts.
Is your feature request related to a problem?
There are many things this could enable, but right now I want to make views add dependency files to their project files when you save a database: #8169, and also for the shared cache (no direct issue#).
Are any alternative solutions acceptable?
All places that save a file could have to call a function to trigger these callbacks? That is not very likely to work. I could implement the functionality I want in a UI plugin, though that will break headless support and also would be very janky.
Additional Information:
There is a major issue with this and Projects: Vector35/binaryninja#1521