pdb-guid
v2.0.0
Published
Library for extracting GUIDs from PE and PDB files without loading the entire file into memory
Downloads
910
Maintainers
Readme
BugSplat
Crash and error reporting built for busy developers.
pdb-guid
A nifty little library for reading unique identifiers from pdb, exe, and dll files.
Command Line
- Install this package globally
npm i -g pdb-guid
- Run pdb-guid with
-h
to see the latest usage information:
bobby@BugSplat % ~ % pdb-guid -h
pdb-guid
A command line utility and library for reading the GUID of a .pdb, .exe, or
.dll file.
Usage
--path string Path to a .pdb, .exe, or .dll file.
-h, --help Print this usage guide.
Example
pdb-guid path-to-exe-dll-or-pdb-file
Links
🐛 https://bugsplat.com
💻 https://github.com/BugSplat-Git/pdb-guid
💌 [email protected]
- Run pdb-guid specifying a path to a pdb, exe, or dll file:
bobby@BugSplat % ~ % pdb-guid ./path/to/bugsplat.pdb
E546B55B6D214E86871B40AC35CD0D461
API
- Install this package locally
npm i @bugsplat/pdb-guid
. - Create a new instance of
PdbFile
by awaiting a call to the static factory functionPdbFile.createFromFile
. This method accepts files with a.pdb
extension.
const pdbFile = await PdbFile.createFromFile('./path/to/bugsplat.pdb');
- Create a new instance of
PeFile
by awaiting a call to the static factory functionPeFile.createFromFile
. This method accepts files with a.exe
or.dll
extension.
const peFile = await PeFile.createFromFile('./path/to/bugsplat.exe');
- The
guid
property ofPdbFile
andPeFile
instances will contain the unique identifier for the file.
const guid = pdbFile.guid;
🐛 About
BugSplat is a software crash and error reporting service with support for Windows Native C++, Qt, Unreal Engine and many more. BugSplat automatically captures critical diagnostic data such as stack traces, log files, and other runtime information. BugSplat also provides automated incident notifications, a convenient dashboard for monitoring trends and prioritizing engineering efforts, and integrations with popular development tools to maximize productivity and ship more profitable software.