Commit Graph

33 Commits

Author SHA1 Message Date
BrentHoltsclaw 51a1de1a7e Add helper/driver information to chipsec_main and chipsec_util
Add self.name and self.driverpath to Helper baseclass
Add get_info function into Helper baseclass which returns self.name and self.driverpath
Modify helpers to have proper name and driver location for driver loaded

Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-12-11 09:43:03 -08:00
BrentHoltsclaw 75fe4e2dd8 Add python architecture to chipsec_main and chipsec_util banner
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-10-21 14:46:52 -07:00
Erik Bjorge dcef92048b Updated header output
- Updated chipsec_main and chipsec_util to include python version
- Added OS and chip information to chipsec_util

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2019-09-03 13:52:33 -07:00
BrentHoltsclaw 2efeda4345 Merge python3-rc2 branch into master (#656) 2019-08-15 14:11:20 -07:00
Erik Bjorge 639553880e Adding Revision ID reporting to chipset detection
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2019-07-23 11:16:09 -07:00
Erik Bjorge 3d845d9a4c Made logging modes selectable
Verbose, HAL and debug logging modes are now each selectable.

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2019-07-23 11:14:53 -07:00
Richard Hughes 66a399dd0a Add the eXecute permission on the launchable binaries
This means on Linux you can just do ./chipsec_util.py rather than using the
Python binary to invoke it.
2019-05-15 18:20:39 -07:00
BrentHoltsclaw 66710206e7 Changes based upon comments 2019-04-25 14:19:08 -07:00
BrentHoltsclaw 618cf08a55 Changes from rebase with master 2019-04-25 14:03:13 -07:00
BrentHoltsclaw 70c13182ad Suggested changes from @frinzell @johnloucaides and @skochinsky 2019-04-25 14:03:13 -07:00
BrentHoltsclaw c7353d07e0 change to allow replay file naming
- Fixed up replay to allow user to pass in filename
- Edited chipsec_main to allow selection of helper
2019-04-25 14:03:13 -07:00
BrentHoltsclaw dd9ecaa155 change to allow clonefile naming 2019-04-25 14:03:13 -07:00
BrentHoltsclaw 825f2a58c0 Add Clone Replay ability into chipsec_main 2019-04-25 14:03:13 -07:00
BrentHoltsclaw 518c4ed90d Allow arguments to pass through to all modules 2019-03-04 13:58:00 -08:00
BrentHoltsclaw b0686eff22 Changes form @ErikBjorge @mjauregu and @skochinsky 2019-03-01 12:08:24 -08:00
BrentHoltsclaw a1c8cbe657 Fix issue #523.
When argparse was added to chipsec_main it no longer requires -a arguements to be separated with a comma.
Adding fix into chipsec main to handle cases when comma separated values are given
@TODO with different request:
Update any test docs to remove the comma within arguements for the modules
2019-03-01 12:08:24 -08:00
BrentHoltsclaw f4576f2065 Switched chipsec_main from getopt to argparse 2019-01-29 11:25:05 -08:00
BrentHoltsclaw 87a456d11b Rewrite of XML and JSON logger 2018-10-15 17:18:45 -07:00
Erik Bjorge b0be8b131b Add ability to only display result deltas from previous test run.
This allow the user to check for changes in test results or over time.
This can include the additon or removal of test as well as changes in
test results.

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2018-05-11 17:03:12 -07:00
Erik Bjorge 0e40912ffc Added ability to override PCH detection.
Added the --pch <PCH_ID> command line option.  This allows the user to
specify the PCH to be used.

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2018-04-09 17:36:02 -07:00
BrentHoltsclaw 3a39ff188f Split log.Skipped into Not Implemented and Not Applicable
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2018-02-26 10:28:54 -08:00
Erik Bjorge cee802d75e Add support for detection of PCH
Adding support to detect the PCH on a given platform and then load any
PCH specific configuration files.

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2018-02-26 10:19:55 -08:00
BrentHoltsclaw d2f4e0ba65 Added Information Type for results and logging 2018-02-23 09:35:58 -08:00
Thiebaud Weksteen 3ba739cd9a Print the banner after the options have been parsed 2017-11-21 14:45:09 -08:00
BrentHoltsclaw 0d450d9d27 Fix chipsec_main import _io issue for uefi shell 2017-10-26 15:34:59 -07:00
Thiebaud Weksteen 317d051c44 Add unit test for chipsec_main 2017-10-11 13:13:21 -07:00
Thiebaud Weksteen d6bdf8725b Only use self.version in chipsec_main 2017-10-11 13:13:21 -07:00
Thiebaud Weksteen 8db2837c8e Reorder and modify all imports in chipsec_main 2017-10-11 13:13:21 -07:00
Thiebaud Weksteen 269319415d Remove unload_module 2017-10-11 13:13:21 -07:00
c7zero 6a85779673 Cosmetic changes (#137)
* Cosmetic changes

- Cosmetic changes in JSON results nad logging of regexp match
- Also fixed returning ModuleResult.PASSED/FAILED instead of True/False
in remap module

* Fix import
2016-12-30 17:16:39 -08:00
c7zero 3979328534 UEFI firmware parsing improved (#134)
* UEFI firmware parsing improved

1. Creating EFI modules object tree when parsing UEFI firmware images
2. Added exporting parsed EFI object tree to JSON
3. EFI module seach uses callbacks
4. Added --json command-line option to export chipsec results to JSON
5. Fixed version

* updating ui_string in all sibling leaf sections
2016-12-14 12:09:50 -08:00
c7zero 06b1f0dd5f More documentation update
Fixed passing the argv to chipsec_main.main() and chipsec_util.main()
when importing them as packages
2016-10-19 20:06:28 -07:00
abazhaniuk 94fe7f02f1 change setup.py build driver by default. change root directory of chipsec. move WARNING.txt to chipsec. remove PKG-INFO (#107) 2016-10-18 18:19:42 -07:00