Skip to content

A simple C program to detect bit flips possibly caused by cosmic rays

Notifications You must be signed in to change notification settings

wpframe/bitflipdetector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Bit Flip Detector

A simple C program to detect bit flips possibly caused by cosmic rays.

Allocates a gigabyte array and checks for bit flips. If a bit flip is found it prints the unix timestamp, test number, and location in the array.

If it can't allocate the memory it will throw a segfault.

It runs indefinitely until it receives a SIGINT.

The test.c file has also been provided which triggers a bit flip in bitflipdetector.c by modifying the memory of the process. Make sure to run it with sudo

Wikipedia on Soft Errors (cosmic rays creating energetic neutrons and protons)

About

A simple C program to detect bit flips possibly caused by cosmic rays

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages