idealvin/coost

stack overflow in hook_write on apple m1

akofer opened this issue · 1 comments

$ ./bin/stack
Illegal instruction: 4

compiled with -fsanitize=address.

debug with vscode, found the hook recursively calls itself until stack overflow.
image

痛苦,这个 stack 是故意 overflow 的。看起来缺一个 death tests 组件。