theos / logos

Preprocessor that simplifies Objective-C hooking.
https://theos.dev/docs/logos
Other
206 stars 34 forks source link

Logify: Provide flags to filter or exclude methods #25

Closed 3xp10it closed 1 year ago

3xp10it commented 7 years ago

As I know,logify.pl can be used like:

logify.pl 1.h > ~/xxx/Tweak.xm
logify.pl 2.h >> ~/xxx/Tweak.xm

When I found there are around 50 or more functions in file 1.h,but the target function what I want to record is only one function,how can I use logify.pl to record only one or few functions to Tweak.xm like:

logify.pl function_name@2.h >> ~/xxx/Tweak.xm
kirb commented 7 years ago

Logify is currently very simplistic and can only generate output for an entire @interface. I agree it could do with options to select methods to filter to or exclude. I'll make this issue a feature request.

uroboro commented 7 years ago

Additionally, it doesn't support hooking C functions either.