wce calc error

This commit is contained in:
Richard Holland
2022-06-02 19:53:57 +00:00
parent 0fe9fd2f81
commit df111bc279

View File

@@ -258,7 +258,7 @@ check_guard(
SIGNED_LEB();
}
uint32_t iteration_bound = 1;
uint32_t iteration_bound = (current->parent == 0 ? 1 : current->parent->iteration_bound);
if (instr == 0x03U)
{
// now look for the guard call