185 Commits

Author SHA1 Message Date
Frinzell, Aaron d27a5ddfce Check control return values in bios_ts.py 2022-02-25 13:38:13 -08:00
Frinzell, Aaron 95f757ed20 Clairify uefivar_fuzz.py documentation 2022-02-24 17:05:05 -08:00
Frinzell, Aaron 0be5bed8ac Add usage documentation to smm_code_chk.py 2022-02-01 08:37:28 -08:00
Frinzell, Aaron ab54329bc3 Add usage documentation to spi_access.py 2022-02-01 08:16:32 -08:00
Frinzell, Aaron f4f196b47f Add usage documentation to sgx_check.py 2022-02-01 08:14:19 -08:00
brentholtsclaw 67f5f9ca43 Display correct thread when printing (smm_code_chk)
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2022-01-31 09:04:58 -08:00
Aaron Frinzell e3af00c996 Add usage documentation to rtclock.py 2022-01-28 10:14:58 -08:00
headkaze 97e7699953 Add Guid and Size output to access_uefispec module 2022-01-28 10:04:43 -08:00
Aaron Frinzell 2a42f8f176 Lets get all corner cases 2021-12-08 09:25:36 -08:00
Aaron Frinzell bac0084d5e Fix scan_image.py arg count check 2021-12-08 09:25:36 -08:00
Aaron Frinzell 378f8d0db9 Better remap.py logic if not reading REMAP registers properly 2021-12-08 09:21:52 -08:00
brentholtsclaw db383aef9d Modify is_supported and logic to support other OS
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2021-12-08 09:16:26 -08:00
Aaron Frinzell fa51966ea2 Add usage documentation to smm_dma.py 2021-12-02 15:58:18 -08:00
Aaron Frinzell e764d11aad Add usage documentation to smrr.py 2021-12-02 15:57:19 -08:00
Aaron Frinzell fa8665d84f Updates to spd_wd.py 2021-09-28 10:20:30 -07:00
Aaron Frinzell 0a102973a0 Expand usage documentation in rogue_mmio_bar.py 2021-09-28 10:18:50 -07:00
Aaron Frinzell 7084a4fedf Add usage documentation to remap.py and memlock.py 2021-08-26 10:53:18 -07:00
Aaron Frinzell e10c43fb69 Add usage documentation to smm.py 2021-08-26 10:53:06 -07:00
Aaron Frinzell eb40e2b88d Minor docstring update on s3bootscript.py 2021-08-26 10:51:56 -07:00
Aaron Frinzell 8e0216b637 Update s3bootscript.py copyright year 2021-08-26 10:51:56 -07:00
Aaron Frinzell ce8f0473fc Add & update usage documentation to s3bootscript.py and access_uefispec.py 2021-08-26 10:51:56 -07:00
brentholtsclaw 0e53326a83 Create exceptions.py for chipsec exceptions
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2021-08-26 10:50:51 -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