Skip to content

NullDev/SimSymSrv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

28 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿž SimSymSrv

Zig


SimSymSrv - Simple Symbol Server Downloader
I shouldn't be allowed to name things...


โญ What is this?

This is a simple CLI tool to download official Microsoft Debugging Symbols
from the Microsoft Symbol Server (SymSrv)

  • You provide a Microsoft Binary (EXE / DLL / SYS)
  • You provide a directory
  • It downloads the debugging symbols to that directory

Simple as that. Works with relative and absolute paths.

image

Can also be used with CLI Arguments now, See simsymsrv --help

SimSymSrv is a tool to download PDB files from Microsoft's Symbol Server.
Copyright (c) 2025 NullDev

Usage: SimSymSrv [options]

Options:
  -i, --input <PATH>   Path to EXE/DLL/SYS file
  -o, --output <PATH>  Path to output folder
  -h, --help           Print this help message

If options are not provided, you will be prompted for the missing input.

โ“ Why?

So you can reverse and debug official MS binaries. Yay...


โ“ Couldn't this be a simple bash script with wget?

Sadly no. In order to build the download URL, we need to extract GUID & age from the PE and then calculate the URL in the format https://msdl.microsoft.com/download/symbols/{PDB Name}/{GUID + Age}/{PDB Name} which is only valid for ~1 hour.


โฌ‡๏ธ Download

Binaries can be downloaded from releases ๐Ÿš€


:octocat: From Source

  • git clone https://github.com/NullDev/SimSymSrv.git && cd SimSymSrv
  • Dev
    • zig run .\src\main.zig
    • Or with CLI options, e.g.: zig run .\src\main.zig -- --help
  • Release
    • zig build-exe src/main.zig -O ReleaseFast -target x86_64-windows -fstrip -femit-bin="SimSymSrv.exe"

Requires Zig 0.14.0 or higher
Developed on Zig 0.14.1


โš ๏ธ Note

This is still in its rough stages, and it's also my very first Zig project...

About

๐Ÿž SimSymSrv - Simple Symbol Server Downloader

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published