mirror of
https://github.com/chipsec/chipsec
synced 2026-06-08 13:31:00 +00:00
af9d90719a
Currently the common.uefi.access_uefispec -a modify test modifications to variables with the default variable attribute of nv | bs | rs (0x7). In this patch we make this behavior more configurable. By default the -a modify option will attempt to modify only the content of the variable, but will not attempt to change the existing attributes of the variable. We have observed cases where the test used this way uncovered more issues on variables where different attributes were used and we did not attempt changing the attribute. By specifying an optional attribute with -a modify,<attribute> the user can now test variable modification with any attribute instead of just the currently hard-coded one. Signed-off-by: Tamas K Lengyel <tamas.lengyel@oracle.com>