mirror of
https://github.com/github/codeql.git
synced 2026-05-04 05:05:12 +02:00
C++: Add a MaD model for 'CAtlFileMappingBase' and mark reads as local flow sources.
This commit is contained in:
@@ -176,6 +176,6 @@ struct CAtlFileMapping : public CAtlFileMappingBase {
|
||||
};
|
||||
|
||||
void test_CAtlFileMapping(CAtlFileMapping<char> mapping) {
|
||||
char* data = static_cast<char*>(mapping); // $ MISSING: local_source
|
||||
void* data2 = mapping.GetData(); // $ MISSING: local_source
|
||||
char* data = static_cast<char*>(mapping); // $ local_source
|
||||
void* data2 = mapping.GetData(); // $ local_source
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user