omarandlorraine / strop

Stochastically generates machine code
MIT License
97 stars 1 forks source link

Make the AAPCS32 search generic across more types #57

Closed omarandlorraine closed 5 months ago

omarandlorraine commented 6 months ago

Right now the search done by .aapcs32(function_pointer) requires that the function takes two i32 parameters and returns an Option<i32>.

It would be way better if this could be generic and it could take an u8, i16, f32, etc and return the same