test: Add C++ classes wrapping system interfaces.#2557
Merged
Conversation
b08da4d to
b046931
Compare
These are more convenient and safer than the manual vtables we have in the fuzzer support code. We can override individual member functions, and C++ will take care of correctly casting and offsetting this-pointers when needed.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2557 +/- ##
==========================================
- Coverage 71.34% 71.20% -0.15%
==========================================
Files 120 127 +7
Lines 28393 28514 +121
==========================================
+ Hits 20257 20302 +45
- Misses 8136 8212 +76 ☔ View full report in Codecov by Sentry. |
Green-Sky
approved these changes
Jan 13, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These are more convenient and safer than the manual vtables we have in
the fuzzer support code. We can override individual member functions,
and C++ will take care of correctly casting and offsetting this-pointers
when needed.
This change is