CS FundamentalsHardProduct-company placement · Security interview

A coverage-guided fuzzer runs a parser for hours with random mutations of seed inputs, and AddressSanitizer is enabled. What can it find without any hand-written expected outputs?

  1. A. Inputs that produce wrong but well-formed results
  2. B. Every logic bug reachable from the seed inputs
  3. C. Missing requirements
  4. D. Crashes, hangs and memory-safety violations, because the sanitizer and crash detection act as the oracle

Correct answer: D. Crashes, hangs and memory-safety violations, because the sanitizer and crash detection act as the oracle

Fuzzing needs an oracle; by default that is a crash, a timeout or a sanitizer report. Coverage feedback helps it reach deep code, but wrong results that do not crash need assertions, properties or differential testing to be noticed.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic