explicitly update stack pointer

This commit is contained in:
Nikita Smith
2025-11-07 14:39:46 -08:00
committed by Ryan Fleury
parent 3f70cd6d05
commit 8bc1e4b21c
+3
View File
@@ -319,6 +319,9 @@ dw_cfi_apply_register_rules(Arch arch,
}
}
// update stack pointer
U64 sp = dw_sp_from_arch(arch);
reg_write_func(sp, &cfa, sizeof(cfa), reg_write_ud);
exit:;
scratch_end(scratch);