srounet / Pymem

A python library for windows, providing the needed functions to start working on your own with memory editing.
MIT License
303 stars 45 forks source link

add return_multiple keyword for pattern functions #59

Closed StarrFox closed 2 years ago

StarrFox commented 3 years ago

This pull request adds the return_multiple keyword to both pattern matching functions

this allows for getting multiple addresses that match a pattern which can be useful for a few things

for example: raising an error when a pattern has more than one result getting different functions with similar bytes