Skip to content

Commit

Permalink
CallstackIsntr: Fix callback types
Browse files Browse the repository at this point in the history
c575951 incorrectly
change the callback types without changing how they were registered.
  • Loading branch information
AndrewFasano committed Feb 19, 2024
1 parent c575951 commit 89b4117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions panda/plugins/callstack_instr/callstack_instr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -594,9 +594,9 @@ bool init_plugin(void *self) {
pcb.after_block_translate = after_block_translate;
panda_register_callback(self, PANDA_CB_AFTER_BLOCK_TRANSLATE, pcb);
pcb.end_block_exec = end_block_exec;
panda_register_callback(self, PANDA_CB_AFTER_BLOCK_EXEC, pcb);
panda_register_callback(self, PANDA_CB_END_BLOCK_EXEC, pcb);
pcb.start_block_exec = start_block_exec;
panda_register_callback(self, PANDA_CB_BEFORE_BLOCK_EXEC, pcb);
panda_register_callback(self, PANDA_CB_START_BLOCK_EXEC, pcb);

bool setup_ok = true;

Expand Down

0 comments on commit 89b4117

Please sign in to comment.