Module Stubs
Provides classes and predicates for identifying stub code.
Import path
import semmle.code.cil.Stubs
Imports
CIL |
Provides the core CIL data model. |
Classes
BestImplementation |
A method implementation that is the “best” one for a particular method, if there are several potential implementations to choose between, and excludes implementations that are probably from stub/reference assemblies. |
Aliases
assemblyIsStub |
A simple heuristic for determining whether an assembly is a reference assembly where the method bodies have dummy implementations. Look at the average number of instructions per method. |