]> git.sesse.net Git - ffmpeg/commit
checkasm: aarch64: Check for stack overflows
authorMartin Storsjö <martin@martin.st>
Wed, 13 May 2020 11:11:39 +0000 (14:11 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 15 May 2020 18:22:36 +0000 (21:22 +0300)
commited7d73355eea21e08eea01f8fabc1644f15b66e4
tree7121e9ad368da852431ed16878f05fbe946647c4
parent6cb2d4d94bab483c7509d21891a010bfdca3e2a5
checkasm: aarch64: Check for stack overflows

Also fill x8-x17 with garbage before calling the function.

Figure out the number of stack parameters and make sure that the
value on the stack after those is untouched.

Signed-off-by: Martin Storsjö <martin@martin.st>
tests/checkasm/aarch64/checkasm.S
tests/checkasm/checkasm.h