gap_size_align_snippet

summary: utilities to detect structure gaps & alignment

description:

The goal of this script is to illustrate ways to detect gaps & alignments in structures, from a structure name & (byte) offset.

level: intermediate

Functions

get_member_size_align(struct_name, byte_offset)

is_struct_gap(struc_name, byte_offset)

Module Contents

gap_size_align_snippet.get_member_size_align(struct_name, byte_offset)
gap_size_align_snippet.is_struct_gap(struc_name, byte_offset)