Commit Graph

179 Commits

Author SHA1 Message Date
Aaron Frinzell 65075eb417 Lets get all corner cases 2022-01-10 15:04:33 -08:00
Aaron Frinzell b0ec47063b Fix scan_image.py arg count check 2022-01-10 15:04:33 -08:00
Aaron Frinzell 8de16fcac9 Better remap.py logic if not reading REMAP registers properly 2022-01-10 15:04:33 -08:00
brentholtsclaw 613bd8e715 Modify is_supported and logic to support other OS
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2022-01-10 15:04:33 -08:00
Aaron Frinzell 2db6dfb1d9 Add usage documentation to smm_dma.py 2022-01-10 15:04:33 -08:00
Aaron Frinzell efd1d4f1d1 Add usage documentation to smrr.py 2022-01-10 15:04:33 -08:00
brentholtsclaw c4fd9ab605 Make naming consistent within config files
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2021-10-26 16:36:25 -07:00
Aaron Frinzell d7a6dbbed5 Updates to spd_wd.py 2021-10-11 16:26:41 -07:00
Aaron Frinzell 13234cadcd Expand usage documentation in rogue_mmio_bar.py 2021-10-11 16:26:41 -07:00
brentholtsclaw a8cce85f84 Update modules.common to add scope for registers
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2021-09-08 11:24:19 -07:00
Aaron Frinzell 15eb2172a3 Add usage documentation to remap.py and memlock.py 2021-08-31 16:35:56 -07:00
Aaron Frinzell 223005d6cc Add usage documentation to smm.py 2021-08-31 16:35:56 -07:00
Aaron Frinzell 7acf900768 Minor docstring update on s3bootscript.py 2021-08-31 16:35:56 -07:00
Aaron Frinzell c524ab6266 Update s3bootscript.py copyright year 2021-08-31 16:35:56 -07:00
Aaron Frinzell 6a567f29ac Add & update usage documentation to s3bootscript.py and access_uefispec.py 2021-08-31 16:35:56 -07:00
brentholtsclaw 55b5f4cd88 Create exceptions.py for chipsec exceptions
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2021-08-31 16:35:56 -07:00
Aaron Frinzell 88874c167a Update smm_ptr.py to use print_buffer_bytes 2021-07-28 16:14:53 -07:00
Aaron Frinzell 167693a390 May need one more update 2021-06-25 10:03:21 -07:00
Aaron Frinzell d3ededfca6 Minor improvements to sinkhole.py 2021-06-25 10:03:21 -07:00
Assaf Carlsbad d11c177df3 Introduce a new module to check for the presence and configuration of the WSMT table. 2021-06-21 16:26:11 -07:00
brentholtsclaw 811ef62754 Update rouge_mmio_bar to work with python3
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2021-05-27 15:58:38 -07:00
Aaron Frinzell e33ddc6e85 scan_blocked.py exit if no FW image found 2021-05-27 10:45:12 -07:00
Assaf Carlsbad 4aa6a63026 Fix status code check for set_EFI_variable. 2021-05-06 15:42:47 -07:00
Assaf Carlsbad 4e2dd42eec Try to modify other variables as well. 2021-05-06 15:42:47 -07:00
Assaf Carlsbad 9380c3ab81 Print error message only if ro_concern is not empty. 2021-05-06 15:42:47 -07:00
Assaf Carlsbad ecbf8a1e17 Delete unreferenced lists. 2021-05-06 15:42:47 -07:00
Assaf Carlsbad 4a904ab45c Get rid of call to ord(). 2021-05-06 15:42:47 -07:00
Aaron Frinzell ea85aded78 Fix smm_ptr.py sig bytearray 2021-05-05 21:06:54 -07:00
Aaron Frinzell 423e77bd5a Add bytes support to uefivar_fuzz.py 2021-04-30 15:10:48 -07:00
Aaron Frinzell aa20fae3d7 sgx_check: Update missed formatting changes 2021-04-30 14:48:08 -07:00
Aaron Frinzell b441e20086 Add messaging for SPI checks 2021-03-31 14:11:38 -07:00
Aaron Frinzell 8d284873f2 Add MosaicRegressor UEFI RK to blockedlist 2021-03-31 10:42:58 -07:00
Aaron Frinzell a3bf3c6ec7 Fix encoding issue 2021-03-31 10:41:32 -07:00
Aaron Frinzell edb7f68fca smm_code_chk.py capture self.res 2021-03-31 10:41:32 -07:00
Erik Bjorge c5b15cdada Adding display of register when in verbose mode.
Verbose mode should allow for initial verification of register settings
instead of blindly trusting the test.

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2021-03-09 19:20:50 -08:00
Aaron Frinzell 9e2b168223 spi_fdopss check for FDOPSS 2021-02-24 16:14:15 -08:00
Assaf Carlsbad ff8df8b752 Define MSR_SMM_FEATURE_CONTROL only for platforms the support it. 2021-02-24 10:19:40 -08:00
Assaf Carlsbad 8ca35ffbfb Add GPL license. 2021-02-24 10:19:40 -08:00
Assaf Carlsbad 0af175c88b Return ModuleResult.FAILED instead of ModuleResult.ERROR. 2021-02-24 10:19:40 -08:00
Assaf Carlsbad 99a23778bc Introduce a new module that checks that SMM_Code_Chk_En is configured properly. 2021-02-24 10:19:40 -08:00
Aaron Frinzell 043817b8f1 Minor typos in smm_ptr.py 2021-02-17 15:31:35 -08:00
Sae86 79661752c4 Changing helper calls to HAL calls
- debugenabled: helper -> cpu
    - hypercall: helper -> mem

Signed-off-by: Sae86 <sae.batllori@intel.com>
2021-02-05 12:28:33 -08:00
Nathaniel Mitchell 30ee829b3f Fixed error in uefi shell for spectre v2 test
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2021-01-27 08:16:45 -08:00
Sae86 c7259cfac0 Signed-off-by: Sae86 <sae.batllori@intel.com>
Modifying copyright date.

Hal msg bus - removed non working link
Hal spd - changed simmtester links to functioning ones
Cfg sfdp - added docstring
utilcmd mem_cmd - removed random lonely colon
Modules-Common-cpu-cpuinfo and iauntrusted - added temp docstrings
Tools-vmm-hv and xen folders -> imports needed more detail
Modules Me mfg mode - fixed error caused by asterisk in links
2021-01-26 16:10:34 -08:00
Aaron Frinzell ea16df16f7 Move bios_smi.py control 2021-01-21 11:24:30 -08:00
Aaron Frinzell 7ec4faa0a3 me_mfg_mode.py self.res update 2020-12-15 15:28:34 -08:00
Tim Gates 9a2195d376 docs: fix simple typo, incompatibe -> incompatible
There is a small typo in chipsec/modules/tools/vmm/hv/hypercallfuzz.py, chipsec/modules/tools/vmm/hv/synth_dev.py, chipsec/modules/tools/vmm/hv/synth_kbd.py, chipsec/modules/tools/vmm/hv/vmbusfuzz.py.

Should read `incompatible` rather than `incompatibe`.
2020-12-15 15:28:00 -08:00
Aaron Frinzell a66772b1e3 Scanner changes and updates 2020-10-28 09:51:40 -07:00
brentholtsclaw 62989d900d Fix python3 str/bytes issue within smm_ptr
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-10-28 09:50:38 -07:00
Assaf Carlsbad 95ae69af1f Use 'enabled' instead of 'supported'. 2020-09-24 09:53:03 -07:00