CHIPSEC Components and Structure ================================ .. image:: _images/chipsec.jpg :width: 500pt :height: 350pt Core components --------------- =============================================== ================================================================================= ``chipsec_main.py`` main application logic and automation functions ``chipsec_util.py`` utility functions (access to various hardware resources) ``chipsec/chipset.py`` chipset detection ``chipsec/command.py`` base class for util commands ``chipsec/defines.py`` common defines ``chipsec/file.py`` reading from/writing to files ``chipsec/logger.py`` logging functions ``chipsec/module.py`` generic functions to import and load modules ``chipsec/module_common.py`` base class for modules ``chipsec/result_deltas.py`` supports checking result deltas between test runs ``chipsec/testcase.py`` support for XML and JSON log file output ``chipsec/helper/helpers.py`` registry of supported OS helpers ``chipsec/helper/oshelper.py`` OS helper: wrapper around platform specific code that invokes kernel driver =============================================== ================================================================================= Platform Configuration ---------------------- ================================== ================================================ ``chipsec/cfg/`` platform specific configuration xml files ``chipsec/cfg/common.xml`` common configuration ``chipsec/cfg/.xml`` configuration for a specific ================================== ================================================ .. toctree:: List of Cfg components OS/Environment Helpers ---------------------- .. toctree:: List of Helper components HW Abstraction Layer (HAL) -------------------------- Components responsible for access to hardware (Hardware Abstraction Layer) .. toctree:: List of HAL components Utility command-line scripts ---------------------------- CHIPSEC utilities provide the capability for manual testing and direct hardware access. .. warning:: DIRECT HARDWARE ACCESS PROVIDED BY THESE UTILITIES COULD MAKE YOUR SYSTEM UNBOOTABLE. MAKE SURE YOU KNOW WHAT YOU ARE DOING! .. note:: All numeric values in the instructions are in hex. .. toctree:: List of Utility components Auxiliary components -------------------- ============ ===================================================================================== ``setup.py`` setup script to install CHIPSEC as a package ============ ===================================================================================== Executable build scripts ------------------------ ``/scripts/build_exe_*.py`` make files to build Windows executables