Trace
- class tritondse.trace.QBDITrace[source]
- QBDI_SCRIPT_FILEPATH = PosixPath('/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/tritondse/qbdi_trace.py')
- property coverage: CoverageSingleRun
CoverageSingleRun associated with the trace.
- Returns:
coverage object
- static from_file(coverage_path: str) QBDITrace [source]
Load coverage from a file.
- Parameters:
coverage_path (
str
.) – Path to the coverage file.
- class tritondse.trace.Trace[source]
- property coverage: CoverageSingleRun
Coverage generated by the trace
- Returns:
CoverageSingleRun object
- get_coverage() CoverageSingleRun [source]
Return the execution coverage.
- Returns:
CoverageSingleRun
.
- static run(strategy: CoverageStrategy, binary_path: str, args: List[str], output_path: str, dump_trace: bool = False, stdin_file=None) bool [source]
Run the binary passed as argument and return the coverage.
- property strategy: CoverageStrategy
Return the coverage strategy with which this trace was generated with.
- Returns:
CoverageStrategy
- class tritondse.trace.TritonTrace[source]
- property coverage: CoverageSingleRun
Coverage generated by the trace
- Returns:
CoverageSingleRun object