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

Collection of various fixes #49

Merged
merged 11 commits into from
Aug 11, 2022
Merged

Conversation

lukasauer
Copy link
Member

This pull request contains a collection of multiple fixes. Notable changes include the following.

  • Fixed support for 128-bit masks. This change necessitates the addition of a new column (fault_mask_upper) to the HDF5 file format for storing the upper 64-bit of the fault mask.
  • Allow single integer values in the fault configuration to be directly accepted without nesting them in a list.
  • Fix another occurrence of large integer register values being cast to floats (see also Specify explicit register data type to avoid integer conversion errors #41 and Use explicit data types with pandas #42)
  • Validate the HDF5-file argument by checking if its parent directory exists. Previously, ARCHIE would silently fail if it could not create the HDF5 file.

This adds a new column, fault_mask_upper, to the HDF5 file format to be
able to store the 128-bit mask value. It stores the upper 64-bit of the
column fault_mask.
The call to pandas.concat in write_output_wrt_goldenrun() causes large
integer registers values to be cast to floats. Since the register values
do not have to be deduplicated, do not process them with
write_output_wrt_goldenrun().

See also Fraunhofer-AISEC#41 and Fraunhofer-AISEC#42
The functions for reading memory dumps do not have a return value.
Adjust their function signatures accordingly.
In some situations, the  get_system_ram() function is not able to read
from the subprocess. Change the function to use communicate() instead of
poll() to read from the subprocess. This fixes this issue.
@lukasauer lukasauer merged commit 0d23ca9 into Fraunhofer-AISEC:master Aug 11, 2022
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

Successfully merging this pull request may close these issues.

2 participants