patchThe FreeType Project - Patches: patch #8793, Add option to ftfuzzer.cc for...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #8793: Add option to ftfuzzer.cc for library and lsan checks per input.

Submitter:  bungeman <bungeman>
Submitted:  Mon 16 Nov 2015 04:53:44 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Wont Do Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Thu 12 Jul 2018 06:02:49 PM UTC, comment #2: 

FreeType's fuzzers are about to get completely rewritten.  You can follow the development process here:  https://github.com/cherusker/freetype2-testing/tree/master/fuzzing

Your suggestions are very interesting however and will likely be included into the new fuzzers.

Armin <cherusker>
Group Member
Tue 17 Nov 2015 05:23:17 AM UTC, comment #1: 

Thanks for the patch!  However, I wonder how you are going to use this in practice.  Wouldn't environment variables still be a better approach?  Assuming a fuzzer run has found a problem, saying


export FT_FUZZER_FORCE_LOCAL_LIBRARY=1
export FT_FUZZER_FORCE_LSAN_CHECK=1


would get the desired result without recompilation...

Werner LEMBERG <wl>
Group administrator
Mon 16 Nov 2015 04:53:44 PM UTC, original submission:  

This adds compile time defines for FT_FUZZER_FORCE_LOCAL_LIBRARY and FT_FUZZER_FORCE_LSAN_CHECK. This is an updated patch from https://savannah.nongnu.org/bugs/?func=detailitem&item_id=46439 .

The motivator for this is that a leak was detected by the fuzzer, but the leak path was within branches already considered covered. This change makes it possible to compile in such a way as to crash immediately and produce a test case when paths which create such leaks are discovered. It would be nice to always run this way, but this is very slow.

bungeman <bungeman>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #35474:  ftfuzzer.cc.patch added by bungeman (4KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by cherusker (Posted a comment)
  • -email is unavailable- added by wl (Posted a comment)
  • -email is unavailable- added by bungeman (Submitted the item)
  • -email is unavailable- added by bungeman
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-07-12 cherusker StatusNone Wont Do
        Open/ClosedOpen Closed
    2015-11-16 bungeman Attached File- Added ftfuzzer.cc.patch, #35474
        Carbon-Copy- Added kcc

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code