2024 · 13 citations · 50 references
ComputingComputer EngineeringComputer ScienceFormal MethodsProgramming LanguagesSchedulingConcurrency AnalysisConcurrent ProgrammingCpu SchedulingFuzz TestingSequential TestingSoftware TestingConcurrency Bug DetectionConcurrent Program TestingGreybox FuzzingRandom SamplingRandom Sampling AlgorithmsSchedule ExplorationSearch Space ExplorationSearch Space Reduction
Uncovering bugs in concurrent programs is a challenging problem owing to the exponentially large search space of thread interleavings. Past approaches towards concurrency testing are either optimistic --- relying on random sampling of these interleavings --- or pessimistic --- relying on systematic exploration of a reduced (bounded) search space. In this work, we suggest a fresh, pragmatic solution neither focused only on formal, systematic testing, nor solely on unguided sampling or stress-testing approaches. We employ a biased random search which guides exploration towards neighborhoods which will likely expose new behavior. As such it is thematically similar to greybox fuzz testing, which has proven to be an effective technique for finding bugs in sequential programs. To identify new behaviors in the domain of interleavings, we prune and navigate the search space using the "reads-from" relation. Our approach is significantly more efficient at finding bugs per schedule exercised than other state-of-the art concurrency testing tools and approaches. Experiments on widely used concurrency datasets also show that our greybox fuzzing inspired approach gives a strict improvement over a randomized baseline scheduling algorithm in practice via a more uniform exploration of the schedule space. We make our concurrency testing infrastructure "Reads-From Fuzzer" (RFF) available for experimentation and usage by the wider community to aid future research.
50
The SPLASH-2 programs: characterization and methodological considerations
Sandi Woo, Moriyoshi Ohara, Evan Torrie et al. · 2002 · 1.6K citations
GNU Parallel: The Command-Line Power Tool.
Ole Tange · login Usenix Mag. · 2011 · 939 citations
Coverage-based Greybox Fuzzing as Markov Chain
Marcel Böhme, Van-Thuan Pham, Abhik Roychoudhury · 2016 · 619 citations
George Klees, Andrew Ruef, Benji Cooper et al. · 2018 · 597 citations · Full text