forked from ariadne/libucontext
test_libucontext: explain the stack poisoning part
parent
13283f5eba
commit
54a31e566d
|
@ -31,6 +31,7 @@ int main (int argc, const char *argv[]) {
|
||||||
char st2[8192];
|
char st2[8192];
|
||||||
|
|
||||||
|
|
||||||
|
/* poison each coroutine's stack memory for debugging purposes */
|
||||||
memset(st1, 'A', sizeof st1);
|
memset(st1, 'A', sizeof st1);
|
||||||
memset(st2, 'B', sizeof st2);
|
memset(st2, 'B', sizeof st2);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue