Skip to content
/ archaeo Public

Code and Compiled Binary Archaeology - Extract data for complexity and statistical analysis

License

Notifications You must be signed in to change notification settings

br0kej/archaeo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

archaeo - Code and Binary Archaeology

archaeo is a CLI tool for extracting information from C/C++ source code and compiled binaries which is useful to conduct complexity and statistical analysis.

archaeo is currently in development and only supports source code at the moment!

Install/Setup

cargo install --git https://github.com:br0kej/archaeo.git

Usage

Extract source code metrics from dummy.cpp and save to CSV

archaeo source --path test-data/dummy.cpp -o .

Extract source code metrics from test.c and save to JSON

archaeo source --path test-data/test.c --fmt json -o .

Extract source code metrics for test-data directory, save to CSV and output into my-test-dir

archaeo source --path test-data/ -o my-test-dir

Planned Features

  • Multi-file/Project level extraction of source code features
  • Support for extracting source code line information from DWARF and PDB
  • Support for merging source code metrics with those extracted from compiled binaries
  • Support merging of source code metrics and corresponding decompiled code metrics

Acknowledgements

Thanks for the folks who developed rust-code-analysis for doing a hella' lot of heavy lifting.

About

Code and Compiled Binary Archaeology - Extract data for complexity and statistical analysis

Resources

License

Stars

Watchers

Forks

Packages

No packages published