Skip to content

Commit

Permalink
Windows: Update get_commit_charge extension to handle Core.CommitChar…
Browse files Browse the repository at this point in the history
…ge case
  • Loading branch information
eve-mem committed Dec 16, 2024
1 parent b6717d8 commit 4e2227e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion volatility3/framework/symbols/windows/extensions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,10 @@ def get_commit_charge(self):
return self.u.VadFlags.CommitCharge

elif self.has_member("Core"):
return self.Core.u1.VadFlags1.CommitCharge
if self.Core.has_member("CommitCharge"):
return self.Core.CommitCharge
else:
return self.Core.u1.VadFlags1.CommitCharge

raise AttributeError("Unable to find the commit charge member")

Expand Down

0 comments on commit 4e2227e

Please sign in to comment.