Add warning when unmitigated bool
or char
appears in function pointers.
#101
Labels
Area-Verification
Issues concerning verification of the model before output generation
Concept-Correctness
Issues concerning the correctness of the translation from an ABI perspective
Concept-OutputUsability
Issues concerning whether or not the output from Biohazrd is actually usable
RelativelySmall
Issues that are relatively small and could be good candidates for someone's first issue.
#99 introduced a workaround for correctness bugs which arise when a
bool
orchar
is used in the context of an unmanaged function pointer.However if the transformation is omitted for whatever reason we will end up emitting incorrect interop code with subtle and frustrating bugs. We should add a verification to suggest running this transformation if any of these problematic types exist.
The text was updated successfully, but these errors were encountered: