I may have made a mistake so please don't run this on system where you don't have backups. The program might corrupt files. Though I havent encountered this problem it is possible so please use this at your own risk. I can't gurentee things wont break.
The goal of the this repo is to search for a file using a sha-256 hash. Currently only works for linux system that have openssl and dirent installed.
From my home dir:
SPEED | MEMORY USE | MEM-LEAKS |
---|---|---|
1ms | 45MB | None Using make check |
make
./scanner
- Replace all STRCPY with STRNCPY : need to prevent buffer overflow
- Add better error check when malloc failes to find memory
- Add a windows devlopment stream
- Add ability to decide where we should index all files
- Add GIF showing common use case