[PR #143] Fuzzing infrastructure enhancements: Cache, Properties, PFR, and MSan

"Leslie P. Polzer" <[email protected]> Sat, 20 Dec 2025 13:09:59 +0800
Newsgroups gmane.comp.fonts.freetype.devel
Message-ID <[email protected]>
--0492d293cf454e19a31d386e11252199
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Dear FreeType Developers,

  I would like to request a review for Pull Request #143 in the
  freetype2-testing repository:

  https://github.com/freetype/freetype2-testing/pull/143

This PR implements significant improvements to our fuzzing infrastructure:

1. Structure-Aware Cache Fuzzer: Refactored to a command-driven interpreter
   to test complex FTC_Manager state transitions.

2. New Properties Fuzzer: Added FaceVisitorProperties to test the
   FT_Face_Properties API.

3. Enhanced PFR Coverage: Expanded FaceVisitorPfr to test a wider range of
   glyph indices and kerning.

4. Multi-Sanitizer Support: Updated build scripts to support
   MemorySanitizer (MSan) and standalone UBSan via dynamic library path
   resolution.

5. Smart Seed Generation: Included scripts to generate "polyglot" seeds for
   efficient fuzzing.

These changes have been verified locally with ASan, UBSan, and coverage
tools.

Your feedback would be greatly appreciated.

Best regards,

Leslie
--0492d293cf454e19a31d386e11252199
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html><html><head><title></title></head><body><div>Dear FreeTyp=
e Developers,</div><div><br></div><div>&nbsp; I would like to request a =
review for Pull Request #143 in the</div><div>&nbsp; freetype2-testing r=
epository:</div><div><br></div><div>&nbsp; <a href=3D"https://github.com=
/freetype/freetype2-testing/pull/143">https://github.com/freetype/freety=
pe2-testing/pull/143</a></div><div><br></div><div>This PR implements sig=
nificant improvements to our fuzzing infrastructure:</div><div><br></div=
><div>1. Structure-Aware Cache Fuzzer: Refactored to a command-driven in=
terpreter</div><div>&nbsp; &nbsp;to test complex FTC_Manager state trans=
itions.</div><div><br></div><div>2. New Properties Fuzzer: Added FaceVis=
itorProperties to test the</div><div>&nbsp; &nbsp;FT_Face_Properties API=
.</div><div><br></div><div>3. Enhanced PFR Coverage: Expanded FaceVisito=
rPfr to test a wider range of</div><div>&nbsp; &nbsp;glyph indices and k=
erning.</div><div><br></div><div>4. Multi-Sanitizer Support: Updated bui=
ld scripts to support</div><div>&nbsp; &nbsp;MemorySanitizer (MSan) and =
standalone UBSan via dynamic library path</div><div>&nbsp; &nbsp;resolut=
ion.</div><div><br></div><div>5. Smart Seed Generation: Included scripts=
 to generate "polyglot" seeds for</div><div>&nbsp; &nbsp;efficient fuzzi=
ng.</div><div><br></div><div>These changes have been verified locally wi=
th ASan, UBSan, and coverage</div><div>tools.</div><div><br></div><div>Y=
our feedback would be greatly appreciated.</div><div><br></div><div>Best=
 regards,</div><div><br></div><div>Leslie</div></body></html>
--0492d293cf454e19a31d386e11252199--