9 lines
581 B
Text
9 lines
581 B
Text
# LeakSanitizer suppressions for the fuzz targets.
|
|
#
|
|
# iced_x86 builds its instruction-decode tables once, lazily, and holds them for the whole process
|
|
# lifetime via `'static` (Box::leak-style) references — LSan can't trace those roots, so it reports the
|
|
# one-time allocation as a leak on the first input that decodes an instruction of that encoding family.
|
|
# It is NOT a leak: the tables are immutable process-lifetime globals, allocated once, reused forever.
|
|
#
|
|
# This is scoped to iced_x86 ONLY — a real leak in source2rosetta's own code still fails the run.
|
|
leak:iced_x86
|