Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-11-22 | snap: use Mach->szaddr as the width of the stack pointer (fixes snap on amd64) | cinap_lenrek | |
to read the value of the stack pointer register, snap used Machdata->szreg to determine the width of the SP register in the Ureg structure. however, the value does not match the Ureg.sp type for a number of architectures (mips2, amd64) and it is unclear if this was an oversight as it is rarely used (snap is indeed the only user) or if it was intended for a different purpose. so we use szaddr instead which matches the stack pointer width in the Ureg and fixes the truncated stack issue on amd64. | |||
2018-11-22 | snap: add debug flag, make debug less verbose | cinap_lenrek | |
2018-11-22 | snap: check for overflows, cleanup error handling | cinap_lenrek | |
2018-11-22 | snap: consequently use ulong for page index and count | cinap_lenrek | |
2018-11-22 | snap: be more conservative taking stack snapshot | cinap_lenrek | |
include up to 8k below the stack to get some more context. don't assume stack is at least 16K. | |||
2015-03-07 | snap: fix readseg() to cope with > 2gb segments | cinap_lenrek | |
2014-09-29 | snap: change ulong return of stackptr() to uvlong for amd64 | cinap_lenrek | |
2011-03-30 | Import sources from 2011-03-30 iso image - lib | Taru Karttunen | |
2011-03-30 | Import sources from 2011-03-30 iso image | Taru Karttunen | |