CasualX / pelite

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

Decouple pattern into separate crate, possibly allowing to publish #239

Closed h33p closed 4 years ago

h33p commented 4 years ago

Moved pattern into separate crate pelite-pattern. Also didn't know where to place proc-macros so I also put it in the root of the repo.

Also, there are some minor fixes for no_std when using different feature flags.

CasualX commented 4 years ago

I'm not a fan of simply moving the pattern logic out there.

Specifically I want to rethink how the scanner itself interacts with pelite (and how the scanner itself could be reused).

That's the hard part and that's the part I think is worth solving.

If you have any other fixes (you mention no_std stuff) you are welcome to submit another PR for those.