Basic Block Coverage
ConceptBasic Block Coverage (BBC) is a code coverage metric and secondary search objective that tracks which basic blocks (BBs) of a program's control flow graph have been executed. It is used to complement branch- and line-level coverage in software testing and fuzzing, exposing implicit runtime branchings (such as exceptions inside branchless methods) that explicit conditional/loop branches do not capture. Empirical studies show BBC improves branch coverage in search-based unit test generation and accelerates search-based crash reproduction.
WIKI
Basic Block Coverage
Definition
A basic block (BB) is a maximal straight-line sequence of instructions in a program's control flow graph (CFG) with a single entry point and a single exit point, containing no internal branches or branch targets. Basic Block Coverage (BBC) is the fraction (or set) of basic blocks that have been executed at least once during a program's run. Instrumentation reports either a Boolean per-BB hit map or a histogram of per-BB execution counts.
NEIGHBORHOOD
No graph connections found for this entity yet. It may appear in future ingestion runs.
explore full graph →