Commit Graph

2453 Commits

Author SHA1 Message Date
Nathaniel Mitchell ec92093eb8 Fix getting items from the platform tree where they don't match case
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-12-09 10:17:53 -08:00
Nathaniel Mitchell ee551aa168 Populate lists for -p and --pch
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-12-09 10:17:11 -08:00
Nathaniel Mitchell e2e060d390 Update chipsec so XML names are not case sensitive
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-10-30 14:08:03 -07:00
ChipSec 4f139a4586 Update to 2.0.0-rc4 (#2589)
Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2.0.0-rc4
2025-10-01 11:58:22 -07:00
Nathaniel Mitchell 0427a1d178 Add filter_with_fields function to ObjList
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-10-01 10:06:52 -07:00
Nathaniel Mitchell da378b443a Update field names to be all caps
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-09-30 14:48:43 -07:00
Nathaniel Mitchell 6a45198b32 Add 'has_all_fields' function to parent register class and store vid in pci device
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-09-30 13:45:25 -07:00
Nathaniel Mitchell 5f3c7e541d Fix issue where the same control was added to CONTRLS dict multiple times
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-09-22 09:51:50 -07:00
ChipSec 0b37c55b9f Update to 2.0.0-rc3 (#2572)
Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2025-09-02 23:41:02 -07:00
Chipsec 52f30d8139 Add better error handling to create_manual.py
Signed-off-by: Chipsec <chipsec@intel.com>
2025-09-02 23:17:43 -07:00
Nathaniel Mitchell 932317c2c5 Update txt xml
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-09-02 15:45:38 -07:00
Nathaniel Mitchell 874e550090 Undo intel/cpu changes.
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-09-02 10:20:38 -07:00
Nathaniel Mitchell 37829d0122 Clean up based on comments
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-09-02 10:20:38 -07:00
brentholtsclaw 92cfae82fb dev/chipsec2 fixes
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2025-09-02 10:20:38 -07:00
Nathaniel Mitchell c50165a2a4 Add 'is_enabled' to regs and 'filter_enabled' to objlist
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-09-01 22:45:59 -07:00
Nathaniel Mitchell 98284878f6 Remove 'Final' typing from compression.py
typing.Final was added in python 3.8. To maintain compatability with
UEFI shell python v3.6.8, this needs to be removed.
For chipsec 1 version of PR: https://github.com/chipsec/chipsec/pull/2550

Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-08-28 12:00:17 -07:00
Nathaniel Mitchell d8ce89cab6 Update to make controls work as expected
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-08-28 11:59:33 -07:00
Nathaniel Mitchell 5998f80f08 Update control __str__ to print full name of reg
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-08-28 11:59:33 -07:00
Tamas K Lengyel ff41621178 OsIndicationsSupported is only RO after ExitBootServices
The access_uefispec module currently reports OsIndicationsSupported should be
read-only even when the module is ran from UEFI shell before ExitBootServices
has been called. This is a false positive, OsIndicationsSupported is expected
to be read-write before ExitBootServices.

See https://uefi.org/specs/UEFI/2.10/03_Boot_Manager.html, variables that
should be read-only in all cases are specifically called out as:
"Should be treated as read-only". OsIndicationsSupported is not listed as such.

After ExitBootServices the following applies, as specified in
https://uefi.org/specs/UEFI/2.10/08_Services_Runtime_Services.html#setvariable:

"Once ExitBootServices() is performed, only variables that have
EFI_VARIABLE_RUNTIME_ACCESS and EFI_VARIABLE_NON_VOLATILE set can be set with
SetVariable()."

Signed-off-by: Tamas K Lengyel <tamas.lengyel@oracle.com>
2025-07-30 23:58:27 -07:00
Nathaniel Mitchell 591e71dac1 Remove non 'lts' archlinuxs due to kernal updates
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-07-30 23:58:27 -07:00
Nathaniel Mitchell 3eb34a6727 Comment out windows server 2025 due to issues
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-07-30 23:58:27 -07:00
Nathaniel Mitchell f12bf908d0 Update Windows from 2019/2022 to 2022.
Need to debug 2025 as it's not currently working.

Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-07-30 23:58:27 -07:00
Nathaniel Mitchell dbc1e38b4d Disable fail-fast
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-07-30 23:58:27 -07:00
Nathaniel Mitchell 0017b5eec8 Update linux driver
Per https://github.com/torvalds/linux/commit/86758b504864913233f6a16076184ba784cd4466

Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-07-30 23:58:27 -07:00
Nathaniel Mitchell 41601a76c8 Remove debian 10 from testing per end of life
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-07-30 23:58:27 -07:00
Dan Scott f94d25a74d Fix reported decode util bug
Signed-off-by: Dan Scott <dan.scott@intel.com>
2025-07-30 23:58:27 -07:00
Plato Mavropoulos 2dc8f5ffc5 Revamped HAL compression, added ZLIB and GZIP, improved LZMA (#2475)
Revamped HAL UEFI Compression logic

Added UEFI ZLIB, GZIP, BROTLI compression support

Improved UEFI LZMA compression support
2025-07-30 23:58:27 -07:00
Dan Scott bccbd0d9e8 Sanitize test coverage percentage variable
Signed-off-by: Dan Scott <dan.scott@intel.com>
2025-07-30 23:58:27 -07:00
Sara Batllori dadffd3d67 Updates to DAL helper
Signed-off-by: Sara Batllori <sara.batllori@intel.com>
2025-07-30 23:58:27 -07:00
Sara Batllori d0b27201b7 Change root partition size to 1GB
Signed-off-by: Sara Batllori <sara.batllori@intel.com>
2025-07-30 23:58:27 -07:00
Sara Batllori f0aca98060 Add ToolsTree=default to have dependencies upgraded if needed
Signed-off-by: Sara Batllori <sara.batllori@intel.com>
2025-07-30 23:58:27 -07:00
Plato Mavropoulos 704e8a15a5 Added envionment variable for brute force efi module scan at HAL 2025-07-30 23:58:27 -07:00
Sara Batllori c5e576a299 Get kernel version to find script to sign driver
Signed-off-by: Sara Batllori <sara.batllori@intel.com>
2025-07-30 23:58:27 -07:00
Plato Mavropoulos bebc3c63d6 Added validation of EFI compressed data before attempting decompression 2025-07-30 23:58:27 -07:00
Sara Batllori ba62abd403 Update to generate an ArchLinux image and reduce its size
Signed-off-by: Sara Batllori <sara.batllori@intel.com>
2025-07-30 23:58:27 -07:00
Nathaniel Mitchell 196971da2a Rev Jinja2 in log_parser to patched version per CVE-2025-27516
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-07-30 23:58:27 -07:00
dependabot[bot] 9b02459b2b Bump ossf/scorecard-action from 2.4.1 to 2.4.2
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/f49aabe0b5af0936a0987cfb85d86b75731b0186...05b42c624433fc40578a4040d5cf5e36ddca8cde)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-version: 2.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-30 23:58:27 -07:00
dependabot[bot] 80e485601f Bump ubuntu from a328b84 to a08e551 in /chipsec_tools/log_parser
Bumps ubuntu from `a328b84` to `a08e551`.

---
updated-dependencies:
- dependency-name: ubuntu
  dependency-version: latest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-30 23:58:27 -07:00
dependabot[bot] 3f1a5af774 Bump actions/dependency-review-action from 4.6.0 to 4.7.1
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.6.0 to 4.7.1.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/ce3cf9537a52e8119d91fd484ab5b8a807627bf8...da24556b548a50705dd671f47852072ea4c105d9)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-version: 4.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-30 23:58:27 -07:00
dependabot[bot] 8808911cee Bump step-security/harden-runner from 2.12.2 to 2.13.0
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.12.2 to 2.13.0.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](https://github.com/step-security/harden-runner/compare/6c439dc8bdf85cadbbce9ed30d1c7b959517bc49...ec9f2d5744a09debf3a187a3f4f675c53b671911)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-30 23:58:27 -07:00
dependabot[bot] eccdd822de Bump actions/setup-python from 5.5.0 to 5.6.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/8d9ed9ac5c53483de85588cdf95a591a75ab9f55...a26af69be951a213d495a4c3e4e4022e16d87065)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 5.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-30 23:58:27 -07:00
dependabot[bot] 35da10a96c Bump actions/upload-artifact from 4.6.1 to 4.6.2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1...ea165f8d65b6e75b540449e92b4886f43607fa02)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-30 23:58:27 -07:00
dependabot[bot] 04be1f2c9d Bump github/codeql-action from 3.29.2 to 3.29.3
---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.29.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-30 23:58:27 -07:00
Nathaniel Mitchell b7e301c6d8 Add 'self.name' to validate errors
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-07-23 15:09:44 -07:00
Nathaniel Mitchell 56c1a0e3f9 Resolve issues with unit tests
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-07-23 15:09:44 -07:00
Nathaniel Mitchell 99f9b9c6f4 Update files
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-07-23 15:09:44 -07:00
brentholtsclaw 2fa9152c05 Add docstrings to chipsec main functionality
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2025-07-23 15:09:44 -07:00
brentholtsclaw 174f3deec7 Update library commands to integrate with parser changes
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2025-07-23 15:09:44 -07:00
brentholtsclaw 447b6f2689 Update functionality which interfaces with parsers
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2025-07-23 15:09:44 -07:00
brentholtsclaw c039cb9b4a Update parsers
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2025-07-23 15:09:44 -07:00