Nathaniel Mitchell
a198b99b41
Add _logger.disable() to tests to reduce prints
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-11-09 16:17:50 -08:00
Dan Scott
a7d908aa3c
Fix return value when not supported
2023-11-08 16:40:00 -08:00
Sae86
9f13a489ae
Add return codes support to sgx_check, smm, smm_code_check, smm_dma, smrr
...
Signed-off-by: Sae86 <sara.batllori@intel.com >
2023-10-31 16:36:50 -07:00
Sae86
4f90987931
Add return codes support to sgx_check, smm, smm_code_check, smm_dma, smrr
...
Signed-off-by: Sae86 <sara.batllori@intel.com >
2023-10-31 16:36:50 -07:00
Nathaniel Mitchell
adcafb0dc2
Update Werkzeug reqirement per dependabot
...
https://github.com/chipsec/chipsec/security/dependabot/6
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-10-31 16:36:33 -07:00
Nathaniel Mitchell
4c4d8a94ca
Fix BaseModule call in vmm modules
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-10-31 16:36:13 -07:00
Nathaniel Mitchell
9a32ef5f9a
Update to 1.12.4
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
1.12.4
2023-10-26 09:13:28 -07:00
Sae86
c282cd9e2c
Add tpm_cmd and txt_cmd unit testing
...
Signed-off-by: Sae86 <sara.batllori@intel.com >
2023-10-26 08:42:24 -07:00
Nathaniel Mitchell
4759db046f
Add tgl tests for all modules
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-10-25 21:29:36 -07:00
Sae86
4c582b2573
Add return codes support to ia32cfg, me_mfg_mode, memconfig, memlock, rtclock
...
Signed-off-by: Sae86 <sara.batllori@intel.com >
2023-10-25 21:22:22 -07:00
Nathaniel Mitchell
f47f54d33a
Add check to debugenabled for ECTRL register definition
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-10-25 16:35:28 -07:00
Sae86
2c9d457970
Add return codes support to bios_kbrd_buffer, bios_smi, bios_ts, bios_wp and debugenabled
...
Signed-off-by: Sae86 <sara.batllori@intel.com >
2023-10-25 16:35:08 -07:00
Nathaniel Mitchell
b1533ea07c
Update strip_record to fix bug and update run_chipsec_module
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-10-25 16:34:37 -07:00
Sae86
ef24524d78
Add return codes support to cpu, secureboot and uefi folders in common
...
Signed-off-by: Sae86 <sara.batllori@intel.com >
2023-10-25 16:34:21 -07:00
Nathaniel Mitchell
00c80ff0c3
Update input name to avoid confusion of msr_cmd.py
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-10-25 16:33:54 -07:00
Nathaniel Mitchell
a7df794272
Update sgx_check unit test and add script to shorten recordings
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-10-20 08:32:48 -07:00
Sae86
4a8057d904
Update remaining SKIPPED results and references
...
Signed-off-by: Sae86 <sara.batllori@intel.com >
2023-10-17 16:36:31 -07:00
Nathaniel Mitchell
fbccec7756
Fix import and possible unbound errors
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-10-16 16:38:21 -07:00
Nathaniel Mitchell
0c8b0e7068
Only add pci_dev if not previously added in core_parser
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-10-16 16:38:08 -07:00
Nathaniel Mitchell
674097ecdc
Fix casting issue in tpm hal
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-10-16 16:37:54 -07:00
Sae86
715dfbb678
Fix res being referenced before assignment issue
...
Signed-off-by: Sae86 <sara.batllori@intel.com >
2023-10-16 16:37:40 -07:00
Nathaniel Mitchell
cfcac7fbb6
Fix address of UART_3 in Renoir
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-10-13 16:07:49 -07:00
Sae86
2358adfd51
Add module that generates test IDs for return codes
...
Signed-off-by: Sae86 <sara.batllori@intel.com >
2023-10-09 16:37:28 -07:00
William Leara
87c71c5f4c
fix flake8 whitespace errors on smbios.py
...
No semantic change. Fix: E125, E252, E303, E305
2023-10-09 16:36:35 -07:00
jun2zhou
5544c92c62
update window & ubuntu build matrix ( #1952 )
...
* Update tests.yml
* Update tests.yml
* Update tests.yml
* Update tests.yml
* Update tests.yml
* Update tests.yml
* Update tests.yml
* use python instead of python3 for windows
2023-09-29 19:05:41 -07:00
Nathaniel Mitchell
6b22e9acd3
Update to 1.12.3
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
1.12.3
2023-09-29 09:38:30 -07:00
Nathaniel Mitchell
6a23a6e968
Add initial windows helper unit tests
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-09-29 09:20:39 -07:00
Sae86
c0a488a7c0
Revert "Add return codes support to cpuid_fuzz, ept_finder and hypercallfuzz (tools/vmm)"
...
This reverts commit 041da2f54485aaf56018df3bfd9e2478190aa680.
Signed-off-by: Sae86 <sara.batllori@intel.com >
2023-09-29 09:01:13 -07:00
Sae86
a8530707e5
Add return codes support to cpuid_fuzz, ept_finder and hypercallfuzz (tools/vmm)
...
Signed-off-by: Sae86 <sara.batllori@intel.com >
2023-09-29 09:01:13 -07:00
Sae86
85a76f6475
Add return codes support to tools/vmm/hv
...
Signed-off-by: Sae86 <sara.batllori@intel.com >
2023-09-29 09:01:13 -07:00
Sae86
78834bd04b
Add return codes support to cpuid_fuzz, ept_finder and hypercallfuzz (tools/vmm)
...
Signed-off-by: Sae86 <sara.batllori@intel.com >
2023-09-29 08:28:03 -07:00
Sae86
aaed42dde1
Add return codes support to cpuid_fuzz, ept_finder and hypercallfuzz (tools/vmm)
...
Signed-off-by: Sae86 <sara.batllori@intel.com >
2023-09-28 21:54:06 -07:00
Nathaniel Mitchell
5eaefb6e24
Add check for setuptools >=62.0.0
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-09-28 21:25:12 -07:00
Sae86
40e544a66f
Add return codes support to vbox and xen folders in tools
...
Signed-off-by: Sae86 <sara.batllori@intel.com >
2023-09-28 21:24:41 -07:00
Sae86
6a32675590
Add return codes support to iofuzz, msr_fuzz, pcie_fuzz, pcie_overlap_fuzz (tools/vmm)
...
Signed-off-by: Sae86 <sara.batllori@intel.com >
2023-09-28 21:23:34 -07:00
Sae86
24bd626f7e
Add return codes support to vmm.venom and wsmt in tools
...
Signed-off-by: Sae86 <sara.batllori@intel.com >
2023-09-28 21:23:18 -07:00
Nathaniel Mitchell
91a3415e4d
Fix issue where platform cfgs would not overwrite common
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-09-28 21:22:58 -07:00
Sae86
f9c03e8c65
WIP: Add helper function for return codes integration
...
Signed-off-by: Sae86 <sara.batllori@intel.com >
2023-09-25 16:41:00 -07:00
Frinzell, Aaron
23259999f4
PEP632 URL typo
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-09-25 16:40:28 -07:00
brentholtsclaw
aff7ccc8a4
Update DMAR tables per specification
...
Intel Virtualization Technology for Directed I/O Revision 4.1 Order Number: D51397-016
sections 8.3, 8.4, 8.5, 8.6, 8.7, 8.8, 8.9, 8.3.1
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2023-09-20 16:36:21 -07:00
Nathaniel Mitchell
dc37d01b92
Fix uefi_search cpuid.upper call as cpuid is an int
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-09-20 16:36:03 -07:00
Nathaniel Mitchell
eea283a42f
Update PCH 6xx* DIDs
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-09-18 16:38:04 -07:00
William Leara
fafbbd7695
fix misspelling of "Parameter"
2023-09-18 16:37:50 -07:00
Nathaniel Mitchell
cda2f448ac
Fix the issue with the bus lists
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-09-15 10:07:44 -07:00
Frinzell, Aaron
eb977021b6
Add get_bits() to library/bits.py
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-09-11 16:37:02 -07:00
Nathaniel Mitchell
7066ad538f
Update to 1.12.2
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
1.12.2
2023-09-08 15:23:27 -07:00
Frinzell, Aaron
a498374f40
Add PEP 632 comments to manual
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-09-08 15:08:15 -07:00
Nathaniel Mitchell
3c35aee789
Update bus matching check in _process_pci_dev
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-09-07 16:48:55 -07:00
Nicolas Iooss
6dea5995d5
Use the right dictionnary in handle_ima
...
`CoreConfig.handle_ima` was adding entries to `cfg.IO_BARS` instead of
`cfg.IMA_REGISTERS`. Moreover `Chipset.get_register_def` uses
`IMA_REGISTERS` when looking for registers with type `"indirect"`, which
confirms there was a bug.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org >
2023-09-06 16:38:07 -07:00
Nicolas Iooss
9a0f04e2a1
Import modules traceback and errno when they are needed
...
When loading the kernel module fails on Linux, `chipsec_util.py`
raises an error in
logger().log_debug(traceback.format_exc())
because `traceback` was not imported.
Fix this issue by importing the missing modules `traceback` and `errno`.
While at it, import `traceback` too in other files where it was missing.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org >
2023-09-06 16:37:59 -07:00