- 22 Jun, 2017 1 commit
-
-
Matthieu Bouron authored
Avoids overriding the v0 register (which containins the result of the tested function) in checkasm_call_checked.
-
- 15 May, 2017 1 commit
-
-
Martin Storsjö authored
Loads from this strictly doesn't require alignment, but specify it just for consistency with the arm version. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 18 Oct, 2016 1 commit
-
-
Martin Storsjö authored
x29 (FP) is a callee saved register and should be restored on return. Instead of backing up x29 and restoring it here, back up sp in a register that we are allowed to overwrite. This fixes crashes in checkasm on aarch64 since f1b3e131. For some reason, gcc builds didn't crash, but clang builds do. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 17 Oct, 2016 1 commit
-
-
Diego Biurrun authored
They only contain one line and will never contain more.
-
- 16 Oct, 2016 3 commits
-
-
Martin Storsjö authored
This, combined with clobbering the stack space prior to the call, increases the chances of finding cases where 32 bit parameters are erroneously treated as 64 bit. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Even if MAX_ARGS - 2 (for arm) or MAX_ARGS - 7 (for aarch64) parameters are passed on the stack to checkasm_checked_call, we actually only need to store MAX_ARGS - 4 (for arm) or MAX_ARGS - 8 (for aarch64) parameters on the stack when calling the tested function. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 07 Jan, 2016 1 commit
-
-
Martin Storsjö authored
This is disabled on iOS, since iOS uses a slightly different ABI for vararg parameters. Signed-off-by:
Martin Storsjö <martin@martin.st>
-