e3ae169833
### Problem description Currently, the providers use the method `isSavable()` to determine both if they can use "Save" or "Save as". This behaviour is problematic because some providers may need to be saveable but not saveable as: for example the view provider. The original provider may not allow to be saved. ### Implementation description I separate these two behaviour by creating another function: `isDumpable()`, that return true by default but can be overridden by the provider to return false, if the provider should not be dumped in any way. ### Additional things While I was at it, I also marked "export" operations as needing the "dumpable" flag. That way, we can't accidentally export the whole address space of a process as base64. I also added documentation for these some functions in Provider |
||
---|---|---|
.. | ||
view_about.cpp | ||
view_bookmarks.cpp | ||
view_command_palette.cpp | ||
view_constants.cpp | ||
view_data_inspector.cpp | ||
view_data_processor.cpp | ||
view_diff.cpp | ||
view_disassembler.cpp | ||
view_find.cpp | ||
view_hashes.cpp | ||
view_hex_editor.cpp | ||
view_information.cpp | ||
view_patches.cpp | ||
view_pattern_data.cpp | ||
view_pattern_editor.cpp | ||
view_provider_settings.cpp | ||
view_settings.cpp | ||
view_store.cpp | ||
view_theme_manager.cpp | ||
view_tools.cpp | ||
view_yara.cpp |