Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cwshugg/libsca
A C library used to assist with writing cache-based side-channel attacks.
https://github.com/cwshugg/libsca
Last synced: 9 days ago
JSON representation
A C library used to assist with writing cache-based side-channel attacks.
- Host: GitHub
- URL: https://github.com/cwshugg/libsca
- Owner: cwshugg
- Created: 2023-12-05T20:51:40.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-05T22:14:49.000Z (about 1 year ago)
- Last Synced: 2024-10-18T06:15:35.568Z (3 months ago)
- Language: C
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lib SCA
This is a small C library written to assist with writing cache-based
side-channel attacks. So far, it provides functions that:* Flush cache lines, given a virtual address.
* Times memory loads and stores, given a virtual address.
* Collects statistics on the system's cache hit/miss timing.
* Extract sections of bits from virtual addresses that correspond to cache line,
cache set, and cache tag values.The library code can be found in `lib/
I've also implemented a few tools and example programs that use the library.
These can be found in `tools/`.## Building
To build the library, simply navigate into `lib/` and invoke the makefile.
```bash
cd lib
make
```To build all tools within `tools/`, navigate into `tools/` and invoke the
makefile.```bash
cd tools
make
```