• Figuring out which classes are part of the public API by using library
    symbols is fragile (dependent on specific compiler optimizations) and
    unreliable (misses some inline things). Instead, use castxml, a tool
    that parses C++ to an abstract syntax tree and generates XML, to get a
    reliable accounting of public classes and their sizes.
    Jay Berkenbilt authored
     
    Browse File »





  • Why did this ever work? Hard to say...perhaps a library we linked
    against was setting `int _dowildcard = -1;` somewhere and no longer
    is. Apparently linking with CRT_glob.o has been the way to do this for
    a very long time, and we've just been lucky that it worked all this
    time.
    Jay Berkenbilt authored
     
    Browse File »


  • As a rule, we should avoid conditional compilation is it always causes
    code paths that are sometimes not even seen lexically by the compiler.
    Also, we want the actual code being fuzzed to be as close as possible
    to the real code. Conditional compilation is suitable to handle
    underlying system differences.
    
    Instead, favor configuration using callbacks or other methods that can
    be triggered in the places where they need to be exercised.
    Jay Berkenbilt authored
     
    Browse File »