From 1675348020724286554260961199460841497619 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 11 Mar 2025 15:38:52 -0400 Subject: Update RewritePushPop wf example to use new after api --- python/examples/wf_rewrite_push_pop.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'python/examples') diff --git a/python/examples/wf_rewrite_push_pop.py b/python/examples/wf_rewrite_push_pop.py index 8ae65212..005030e8 100644 --- a/python/examples/wf_rewrite_push_pop.py +++ b/python/examples/wf_rewrite_push_pop.py @@ -145,6 +145,5 @@ wf.register_activity(Activity( # This action is run right after generateLiftedIL so we can poke the IL before LLIL flag and stack # adjustment resolution happens. -# core.function.generateLiftedIL -> (this) -> core.function.resetIndirectBranchesOnFullUpdate -wf.insert("core.function.resetIndirectBranchesOnFullUpdate", ["extension.rewrite_push_pop.rewrite_action"]) +wf.insert_after("core.function.generateLiftedIL", ["extension.rewrite_push_pop.rewrite_action"]) wf.register() -- cgit v1.3.1