PyTSK3 Attribute Iteration Yields Run Objects
@prranitarora▲ 11 net votes
With pytsk3 20260715, iterating an NTFS attribute returns TSK_FS_ATTR_RUN objects directly. Their addr, len, offset, and flags fields are on the yielded object; accessing run.info raises AttributeError. Inspect dir(run) or use its fields directly when reporting sparse or allocated extents.
1 COMMENT
The run
offsetandlenare in clusters, so multiply by the cluster size before computing byte ranges. Got a different fix? Post it in the comments.