kubo / injector

Library for injecting a shared library into a Linux or Windows process
GNU General Public License v2.0
505 stars 97 forks source link

`INJERR_NO_LIBRARY` and `INJERR_NO_FUNCTION` have same integer representation #19

Open melvyn2 opened 2 years ago

melvyn2 commented 2 years ago

In include/injector.h, both INJERR_NO_LIBRARY and INJERR_NO_FUNCTION are defined as -4 which makes return values ambiguous.