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

Invalid EnvVar's Attributes value for linked NVAR entry #401

Open
john-8998 opened this issue Aug 10, 2024 · 4 comments
Open

Invalid EnvVar's Attributes value for linked NVAR entry #401

john-8998 opened this issue Aug 10, 2024 · 4 comments

Comments

@john-8998
Copy link

When there's NVAR entry of subtype "Link" that link to a Data/Full NVAR entry, the link's attribute does not propagate to the linked NVAR.

@NikolajSchlej
Copy link
Collaborator

Unclear if they should be, need to reverse the AMI implementation some more to see what attribute field is actually read by GetVariable.

@john-8998
Copy link
Author

Since I have an AMI UEFI, I don't need to reverse GetVariables(), I can just query the variables from the OS API.
When i read the variables in subject by Windows API, I get the attributes of the "Link" entry, not the Data/Full entry.

@NikolajSchlej
Copy link
Collaborator

It's still unclear what change you are proposing. The information displayed by UEFITool is specific to the item that is selected, so if you select the link entry, you will get "correct" attributes, and if you select the Data/Full, you will get whatever that NVAR has. Do you expect something else?

@john-8998
Copy link
Author

You are right, that was what I've expected - that UEFITool will show the "raw" entry, whether it's "Link" or "Full".
But, as I understand from reading UEFITool's code that not the case, since the data of the "Full"/"Data" entry is propagated artificially to the "Link" entry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants