This is the repository of the scripts that were used in helping in an attempt of critically reading the VICE[^1] source code.
VICE is a program that runs on a Unix, MS-DOS, Win32, OS/2, BeOS, QNX 4.x, QNX 6.x, Amiga, Syllable or Mac OS X machine and executes programs intended for the old 8-bit computers.
More information on this analysis can be found under https://phd.thgie.ch/notes/VICE.html.
- Download the source distribution from https://vice-emu.sourceforge.io/index.html#download
- Copy all files ending in
*.c
and*.h
from the downloaded archive'ssrc
folder to this repository'ssrc
folder - Flatten the hierarchy in the repository's
src
folder; no subfolders! - You are now able to execute the python scripts
count.py
counts the total lines of code in all the filessplit.py
splits the provided source code files into files with either just comments or just code, and moves them to the appropriate foldersvice-network.py
generates a CSV file with the relations between files and their authors; meant to be imported in Gephi afterauthors-network.py
generates a CSV file with the relations between files according to their#include
statements; to be imported in Gephi after