summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/warp/src/plugin.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/warp/src/plugin.rs b/plugins/warp/src/plugin.rs
index 86c4bc7b..b84173f7 100644
--- a/plugins/warp/src/plugin.rs
+++ b/plugins/warp/src/plugin.rs
@@ -39,6 +39,10 @@ fn get_warp_tag_type(view: &BinaryView) -> Ref<TagType> {
// TODO: Rename to markup_function or something.
pub fn on_matched_function(function: &Function, matched: &WarpFunction) {
let view = function.view();
+ // TODO: Using user symbols here is problematic
+ // TODO: For one they queue up a bunch of main thread actions
+ // TODO: Secondly by queueing up those main thread actions if you attempt to save the file
+ // TODO: Before the undo actions are done completing
view.define_user_symbol(&to_bn_symbol_at_address(
&view,
&matched.symbol,