mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
C#: Identify CIL methods that are stubs, and exclude them from dataflow.
This commit is contained in:
2
csharp/ql/test/library-tests/cil/pdbs/Stubs.expected
Normal file
2
csharp/ql/test/library-tests/cil/pdbs/Stubs.expected
Normal file
@@ -0,0 +1,2 @@
|
||||
| EmbeddedPdb.dll:0:0:0:0 | EmbeddedPdb, Version=1.0.0.0, Culture=neutral |
|
||||
| PdbOnly.dll:0:0:0:0 | PdbOnly, Version=1.0.0.0, Culture=neutral |
|
||||
5
csharp/ql/test/library-tests/cil/pdbs/Stubs.ql
Normal file
5
csharp/ql/test/library-tests/cil/pdbs/Stubs.ql
Normal file
@@ -0,0 +1,5 @@
|
||||
import cil::CIL
|
||||
|
||||
from Assembly asm
|
||||
where assemblyIsStub(asm)
|
||||
select asm
|
||||
Reference in New Issue
Block a user