CasualX / pelite

Lightweight, memory-safe, zero-allocation library for reading and navigating PE binaries.
MIT License
284 stars 42 forks source link

Strict alignment checks #86

Closed CasualX closed 6 years ago

CasualX commented 6 years ago

Alignment check used to not care about how the image data pointer itself is aligned, which is important in the alignment check!

This pushes responsibility of alignment up to the user when constructing pe files and views, which can be bothersome when the user keeps getting unexpected alignment errors...