Python stdlib module — struct. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.calcsize()Neutralcalcsize(format)
Return size in bytes of the struct described by the format string.
.iter_unpack()Neutraliter_unpack(format, buffer)
Return an iterator yielding tuples unpacked from the given bytes.
.unpack()Neutralunpack(format, buffer)
Return a tuple containing values unpacked according to the format string.
.unpack_from()Neutralunpack_from(format, buffer, offset)
Return a tuple containing values unpacked according to the format string.
| FQN | Field | |
|---|---|---|
| struct | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import struct