Keybase proof
I hereby claim:
- I am laomaiweng on github.
- I am laomaiweng (https://keybase.io/laomaiweng) on keybase.
- I have a public key ASCBI2jf8CtFXEcluDmHvuG1Xyu3ZYqsfwpIWRI-gmwXogo
To claim this, I am signing this object:
#!/bin/bash | |
die() { | |
echo "error: $*" | |
exit 1 | |
} >&2 | |
if [[ $# != 1 || "$1" =~ ^(-h|--help)$ ]]; then | |
echo "usage: ${0##*/} <recipient>" | |
exit 1 |
diff --git a/src/hooks_disas.cpp b/src/hooks_disas.cpp | |
index 38ad8d0..57b3470 100644 | |
--- a/src/hooks_disas.cpp | |
+++ b/src/hooks_disas.cpp | |
@@ -108,11 +108,12 @@ action_state_t idaapi show_context_menu_disas_ah_t::update(action_update_ctx_t * | |
int idaapi show_context_menu_disas_func_ah_t::activate(action_activation_ctx_t *ctx) | |
{ | |
Idatag_context_disas_func* context_menu = new Idatag_context_disas_func(ctx); | |
- if (myModel->is_in_func(ctx->cur_ea)) | |
+ if (myModel->is_in_func(ctx->cur_ea) != BADADDR) |
I hereby claim:
To claim this, I am signing this object: