We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Can strace make you fail?

Formal Metadata

Title
Can strace make you fail?
Subtitle
strace syscall fault injection
Title of Series
Number of Parts
611
Author
License
CC Attribution 2.0 Belgium:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date2018
LanguageEnglish
Production Year2017

Content Metadata

Subject Area
Genre
Abstract
strace is a diagnostic, debugging and instructional utility for Linux. It isused to monitor interactions between processes and the Linux kernel, whichinclude system calls, signal deliveries, and changes of process state. In2016, strace has been extended to tamper with tracees using syscall faultinjection, making strace also a syscall fault injection tool, the onlyunprivileged userspace command-line runtime tool of this kind for Linux. The last summer as a part of strace GSoC 2016 project Nahim El Atmani hasimplemented a prototype of syscall fault injection - a software testingtechnique used for improving test coverage of error handling code paths thatmight otherwise rarely be followed by introducing faults. Now the feature hasfinally been implemented and is a part of strace 4.15 released in December2016. In this talk the maintainer of strace will demonstrate the new feature,describe its implementation, and show examples of real bugs found with itshelp.