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

Compatibility with cstruct v4 #37

Merged
merged 5 commits into from
Jun 4, 2024
Merged

Compatibility with cstruct v4 #37

merged 5 commits into from
Jun 4, 2024

Conversation

Schamper
Copy link
Member

@Schamper Schamper commented May 17, 2024

Closes #30.

@codecov-commenter
Copy link

codecov-commenter commented May 23, 2024

Codecov Report

Attention: Patch coverage is 80.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 72.35%. Comparing base (2dfb4a6) to head (7abb192).

Files Patch % Lines
dissect/volume/ldm.py 0.00% 2 Missing ⚠️
dissect/volume/vss.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
- Coverage   72.42%   72.35%   -0.07%     
==========================================
  Files          26       26              
  Lines        1969     1957      -12     
==========================================
- Hits         1426     1416      -10     
+ Misses        543      541       -2     
Flag Coverage Δ
unittests 72.35% <80.00%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Schamper Schamper force-pushed the cstruct-v4 branch 8 times, most recently from 2339cb1 to c0ab551 Compare May 23, 2024 15:09
pyproject.toml Outdated Show resolved Hide resolved
pyrco
pyrco previously approved these changes May 24, 2024
Copy link
Contributor

@Miauwkeru Miauwkeru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also change the definition on

c_ddf = cstruct(endian=">")

to use
cstruct().load(...)

dissect/volume/disk/schemes/mbr.py Show resolved Hide resolved
@pyrco pyrco requested a review from Miauwkeru May 31, 2024 09:33
@pyrco pyrco merged commit 6e08ee3 into main Jun 4, 2024
17 of 18 checks passed
@pyrco pyrco deleted the cstruct-v4 branch June 4, 2024 12:15
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.

Patch dissect.volume with cstruct v.4
4 participants