summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h
diff options
context:
space:
mode:
authorMax Moroz <mmoroz@chromium.org>2018-07-23 14:20:52 +0000
committerMax Moroz <mmoroz@chromium.org>2018-07-23 14:20:52 +0000
commit1e954f78d1d74bc5d59d30f46a1453c05d343a8d (patch)
tree2a8619275b3998cecead7460d2e5109f2e04c290 /lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h
parentde95704e74dbde0624000bbbb0af6860acafb329 (diff)
downloadbcm5719-llvm-1e954f78d1d74bc5d59d30f46a1453c05d343a8d.tar.gz
bcm5719-llvm-1e954f78d1d74bc5d59d30f46a1453c05d343a8d.zip
[libFuzzer] Handle unstable edges by using minimum hit counts
Summary: Created unstable_handle flag that takes 1 or 2, depending on the handling type. Modified RunOne to accommodate the following heuristic: Use the first CollectFeatures to count how many features there are. If no new features, CollectFeatures like before. If there is new feature, we run CB 2 more times, Check which edges are unstable per input and we store the least amount of hit counts for each edge. Apply these hit counts back to inline8bitcounters so that CollectFeatures can work as intended. Modified UnstableCounters to 8int_t and created a bitset UnstableSet to tell which edges are unstable. Patch by Kyungtak Woo (@kevinwkt). Reviewers: Dor1s, metzman, morehouse Reviewed By: Dor1s, morehouse Subscribers: delcypher, #sanitizers, llvm-commits, kcc Differential Revision: https://reviews.llvm.org/D49525 llvm-svn: 337696
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud