Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

somnisoft/asmcov

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asmcov

Measure coverage of assembly instructions in ELF executable using ptrace.

Known limitations

  • Only measures line coverage
  • Does not work on binaries compiled as shared object files
  • Requires x86_64 ELF executable running on Linux
  • Very slow execution

Usage

# Compile ptrace interface used by asmcov.py
make

# Run the binary one or more times to collect statistics
./asmcov.py /path/to/bin
./asmcov.py /path/to/bin arg1
./asmcov.py /path/to/bin arg1 arg2

# Generate a report (asmcov.html) and open in default web browser
./asmcov.py -r /path/to/bin

# Report highlights the instructions that did not execute
# Report also includes number of times each line hit

About

measure coverage of x86_64 Linux ELF executable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published