getsentry / pdb

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

Params & locals sizes aren't correct when converting OldFrameData to FrameData #66

Closed calixteman closed 4 years ago

calixteman commented 4 years ago

The number of bytes for OldFrameData are divided by 4: https://github.com/willglynn/pdb/blob/master/src/framedata.rs#L185-L186 So to have the real number of bytes when converting to FrameData, we need to multiply by 4.