summaryrefslogtreecommitdiff
path: root/python/examples/pseudo_python.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2026-01-13 13:28:30 -0500
committerPeter LaFosse <peter@vector35.com>2026-01-15 14:06:32 -0500
commitf327d9565f49b047d38bc1a7583e5f4e3776261a (patch)
tree176755277d8876b2614db228c1ad678e3ebea54e /python/examples/pseudo_python.py
parent6e50ceda4e65e5952e59449fad4953ea6c5aaf37 (diff)
Make add_user/auto_segments/sections more pythonic.
This introduces two new dataclasses SegmentInfo and SectionInfo which hold information about their respective objects. These are used for specifying information to a BinaryView while class Segment and Section are still the objects used after registration. Additionally I've created two helper functions in Segment/Section which return the respective Info structure which could be useful if you wanted to modify existing Segments/Sections Currently these two APIs are only used by the add_segments/add_sections APIs but maybe more useful in the future.
Diffstat (limited to 'python/examples/pseudo_python.py')
0 files changed, 0 insertions, 0 deletions