-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash in libcriterion when mocking stdlib.h's exit function #24
Comments
Simplified the test case a bunch more:
I still get a fault, but possibly not an alignment fault:
|
Removing criterion, and only trying to use mimick makes it clear it is an alignment error:
|
even the sample test crashes:
|
ziyao233
pushed a commit
to ziyao233/Mimick
that referenced
this issue
Feb 9, 2024
Signed-off-by: Audrow Nash <audrow@openrobotics.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting a crash in
libcriterion
when trying to use Mimick to mockstdlib.h
'sexit
function.I'm almost certainly doing something wrong, but on the off chance I'm not, here's my report.
The text was updated successfully, but these errors were encountered: