getsentry / pdb

A parser for Microsoft PDB (Program Database) debugging information
https://docs.rs/pdb/
Apache License 2.0
375 stars 67 forks source link

Consider using test-assembler for tests #7

Open luser opened 6 years ago

luser commented 6 years ago

I wrote a crate called test-assembler a while ago, ported from some C++ code a coworker wrote for the Breakpad project. It's got a fairly nice API for spelling out binary data for tests. gimli is using it for some tests, and I've also written tests for my rust-minidump crate with it.

It might be worth looking at for writing tests of various bits of parsing.