todo: strict codesec and export checks when hook cleaner developed

This commit is contained in:
Richard Holland
2022-04-21 12:25:51 +00:00
parent 90d14368e6
commit c99370e9f0

View File

@@ -1074,7 +1074,11 @@ validateCreateCode(SetHookCtx& ctx, STObject const& hookSetObj)
else if (cbak_func_idx && *cbak_func_idx == j)
maxInstrCountCbak = *valid;
else
assert(false);
{
printf("code section: %d not hook_func_idx: %d or cbak_func_idx: %d\n",
j, *hook_func_idx, (cbak_func_idx ? *cbak_func_idx : -1));
// assert(false);
}
i = code_end;