Module cwe_checker_lib::utils

source ·
Expand description

This module contains various utility modules and helper functions.

Modules

  • Handles argument detection by parsing format string arguments during a function call. (e.g. sprintf)
  • Utility structs and functions which directly parse the binary file.
  • Little helpers for developers that try to understand what their code is doing.
  • Utility functions for executing Ghidra and extracting P-Code from the output.
  • Helper functions for common tasks utilizing the control flow graph of the binary.
  • Structs and functions for generating log messages and CWE warnings.
  • Helper functions for common tasks utilizing extern symbols, e.g. searching for calls to a specific extern symbol.

Functions