Skip to main content

Module pattern

Module pattern 

Source
Expand description

De Bruijn cyclic pattern generation for buffer overflow analysis.

Generates unique cyclic patterns where every N-character subsequence appears exactly once. Used to determine exact buffer overflow offsets by finding where a pattern appears in a register or memory.

Functionsยง

create
Generate a De Bruijn cyclic pattern of the given length.
offset_of
Find the offset of a 4-byte value within the cyclic pattern.
offset_of_bytes
Find the offset of a byte string within the cyclic pattern.