Using dumpbin.exe from Visual Studio to get imports and exports from executables and find unused exports
From the executable files in the --target_dir, take the information from dumpbin /exports and /imports and gather the data into exports.json and imports.json
> get_exports_imports.py -t ../data
> get_exports_imports.py -t ../data -u just_this.dll
Take the output from get_exports_imports.py (exports.json and imports.json) and save unreferenced exported functions as unreferenced_functions.json
For just ASpecificDLL.dll
> get_exports_imports.py -t ....\refdefs\apps -u ASpecificDLL.dll
> find_unused_exports.py -t .
or for them all
> get_exports_imports.py -t ....\refdefs\apps
> find_unused_exports.py -t .