regomne / ilhook-rs

A library that provides methods to inline hook binary codes in x86 and x86_64 architecture
MIT License
69 stars 10 forks source link

The new version v2.0 callback params has some error. #5

Closed persytry closed 1 year ago

persytry commented 1 year ago

src/x86.rs has two errors: The JmpToAddrRoutine 3th param is src_addr, but not user_data. The JmpToRetRoutine has the same error as above. The two callback declare type error, does it affect runtime?

regomne commented 1 year ago

It does not affect runtime. I will fix it on next version.