Skip to content

Commit

Permalink
Fix: missing struct member offset info (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
psrok1 authored Aug 1, 2024
1 parent 4817809 commit 5aeb51c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drakpdb/type_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def process_structure(struct):
return [
struct.size,
{
member.name: process_structure_member(member)
member.name: [member.offset, process_structure_member(member)]
for member in struct.fieldlist.substructs
if member.leaf_type == "LF_MEMBER"
},
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "drakpdb"
version = "0.2.0"
version = "0.2.1"
description = "Helper library to generate DRAKVUF profiles."
readme = "README.md"
classifiers = [
Expand Down

0 comments on commit 5aeb51c

Please sign in to comment.