Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the right dictionary in handle_ima #1929

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

fishilico
Copy link
Contributor

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.

`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>
@fishilico fishilico requested a review from a team as a code owner September 6, 2023 05:21
@npmitche npmitche changed the title Use the right dictionnary in handle_ima Use the right dictionary in handle_ima Sep 6, 2023
@dscott90 dscott90 merged commit 6dea599 into chipsec:main Sep 6, 2023
38 checks passed
@fishilico fishilico deleted the fix-handle_ima branch September 7, 2023 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants