tinycodinglm / misc /misc-0007.jsonl
winapiadmin's picture
Upload folder using huggingface_hub (part 16)
d517dc9 verified
|
Raw History Blame Contribute Delete
1.46 kB
{"type": "session", "harness": "opencode", "id": "misc-0007", "name": "Advanced Fuzzing Techniques"}
{"type": "message", "message": {"role": "system", "content": "You are an expert programmer."}}
{"type": "message", "message": {"role": "user", "content": "Explain advanced fuzzing techniques"}}
{"type": "message", "message": {"role": "assistant", "content": "Grammar-based fuzzing: model input format, generate valid-looking inputs. Tools: Domato (HTML), jsfunfuzz (JS), prototool (protobuf).\n\nStructure-aware fuzzing: mutate structured data (JSON, protobuf, IPC messages). libprotobuf-mutator, AFL++ custom mutators.\n\nDifferential fuzzing: compare two implementations with same input. Find inconsistencies.\n\nPersistent mode: libFuzzer keeps process alive, calls fuzz_target() repeatedly. Avoids fork overhead. 10-100x faster.\n\nCustom mutators: AFL++ lets you write mutation strategies. Good for protocol fuzzing.\n\nSymbolic execution + fuzzing: QSYM, Driller. Use concolic execution when fuzzing gets stuck.\n\nCoverage edges: count branches not just blocks. Edge = (prev_block, curr_block). AFL uses 64KB bitmap.\n\nDictionary fuzzing: provide token dictionary to AFL/libFuzzer. Helps generate valid tokens.\n\nRegression testing: add crashing inputs to test suite. ClusterFuzz manages this at scale.\n\nC/C++ harness: LLVMFuzzerTestOneInput(const char*data, int size). Return 0.\nPython:atheris.FuzzTarget(). Fuzz function receives bytes."}}