[Info-vax] debugging stack corruption on Macro64?
John E. Malmberg
wb8tyw at qsl.network
Mon Mar 9 00:26:31 EDT 2015
In the libffi code, I am calling a macro64 subroutine.
In that routine, a frame array is passed in r17. This array was created
with _ALLOCA()
When I use stq instructions to update that array, sometimes I am getting
stack corruption.
When I replace the actual C program with a small stub C program, the
stack corruption is not seen.
The R17 value appears to be quadword aligned when the corruption occurs.
Regards,
-John
More information about the Info-vax
mailing list