VirtualBox

Changeset 72465 in vbox for trunk/include


Ignore:
Timestamp:
Jun 6, 2018 9:12:23 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
122950
Message:

Runtime/RTFuzz: Save fuzzed inputs which cause crashes or client hangs, rewrite client execution code to support looking for timeouts and capturing stdout/stderr of the fuzzed process for inspection. Also make it possible to specify precisely where the input filename is given on the command line using a ${INPUT} placeholder

Location:
trunk/include/iprt
Files:
2 edited

Legend:

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

    r72454 r72465  
    325325RTDECL(int) RTFuzzObsSetTmpDirectory(RTFUZZOBS hFuzzObs, const char *pszTmp);
    326326
     327
     328/**
     329 * Sets the directory to store results to.
     330 *
     331 * @returns IPRT status code.
     332 * @param   hFuzzObs            The fuzzing observer handle.
     333 * @param   pszResults          The path to store the results.
     334 */
     335RTDECL(int) RTFuzzObsSetResultDirectory(RTFUZZOBS hFuzzObs, const char *pszResults);
     336
     337
    327338/**
    328339 * Sets the binary to run for each fuzzed input.
  • trunk/include/iprt/mangling.h

    r72436 r72465  
    10381038# define RTFuzzObsExecStop                              RT_MANGLER(RTFuzzObsExecStop)
    10391039# define RTFuzzObsQueryCtx                              RT_MANGLER(RTFuzzObsQueryCtx)
     1040# define RTFuzzObsSetResultDirectory                    RT_MANGLER(RTFuzzObsSetResultDirectory)
    10401041# define RTFuzzObsSetTestBinary                         RT_MANGLER(RTFuzzObsSetTestBinary)
    10411042# define RTFuzzObsSetTestBinaryArgs                     RT_MANGLER(RTFuzzObsSetTestBinaryArgs)
Note: See TracChangeset for help on using the changeset viewer.

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