VirtualBox

Changeset 77658 in vbox for trunk/include/iprt/fuzz.h


Ignore:
Timestamp:
Mar 11, 2019 8:15:55 PM (6 years ago)
Author:
vboxsync
Message:

Runtime/fuzz: Statistics updates, don't fail if a working directory already exists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/fuzz.h

    r77544 r77658  
    9393
    9494
     95/**
     96 * Fuzzing context statistics.
     97 */
     98typedef struct RTFUZZCTXSTATS
     99{
     100    /** Amount of memory currently allocated. */
     101    size_t                      cbMemory;
     102    /** Number of mutations accumulated in the corpus. */
     103    uint64_t                    cMutations;
     104} RTFUZZCTXSTATS;
     105/** Pointer to fuzzing context statistics. */
     106typedef RTFUZZCTXSTATS *PRTFUZZCTXSTATS;
     107
     108
    95109/** @name RTFUZZCTX_F_XXX - Flags for RTFuzzCtxCfgSetBehavioralFlags
    96110 * @{ */
     
    183197 */
    184198RTDECL(uint32_t) RTFuzzCtxRelease(RTFUZZCTX hFuzzCtx);
     199
     200/**
     201 * Queries statistics about the given fuzzing context.
     202 *
     203 * @returns IPRT status code.
     204 * @param   hFuzzCtx            Handle of the fuzzing context.
     205 * @param   pStats              Where to store the stats on success.
     206 */
     207RTDECL(int) RTFuzzCtxQueryStats(RTFUZZCTX hFuzzCtx, PRTFUZZCTXSTATS pStats);
    185208
    186209/**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette