Skip to content

hyfshishen/LLFI-Quick-Start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LLFI-Quick-Start

  1. Change directory to fault injection base
# example
cd perInstFI                            # per-Instruction FI
cd randomFI                             # random FI
  1. Compile sqrt.c to readable IR:
clang -emit-llvm -S *.c
  1. Instrument IR-level codes to readable IR:
instrument --readable sqrt.ll
  1. Profile: run a fault-free IR:
profile ./llfi/sqrt-profiling.exe
  1. Fault Injection: run a fault-injected IR:
injectfault ./llfi/sqrt-faultinjection.exe
  1. Analyze FI results:
python3 measure.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published