Skip to content
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

[CN-Test-Gen] CLI flag for hack to test static functions #785

Closed
ZippeyKeys12 opened this issue Dec 23, 2024 · 1 comment · Fixed by #808
Closed

[CN-Test-Gen] CLI flag for hack to test static functions #785

ZippeyKeys12 opened this issue Dec 23, 2024 · 1 comment · Fixed by #808
Assignees

Comments

@ZippeyKeys12
Copy link
Collaborator

There's a hack to support testing static functions, which appends the testing to the end of the instrumented file.
This can cause issues with preprocessor-related workarounds.

This should be gated behind a CLI flag that can be removed once #784 or an equivalent is implemented.

@ZippeyKeys12
Copy link
Collaborator Author

This hack is also needed for functions that access a static global.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant