Jump to content

5 posts in this topic

Recommended Posts

Posted
1 minute ago, castix said:

for what purpose?

eg

@interface TargetA:NSObject
-(void)printsmt;
@end
@implementation TargetA

-(void)printsmt{
    NSLog(@"original\n");
}

@end

i want hook printsmt to print or log "HOOKED"

Posted
4 minutes ago, tienminh said:

eg


@interface TargetA:NSObject
-(void)printsmt;
@end
@implementation TargetA

-(void)printsmt{
    NSLog(@"original\n");
}

@end

i want hook printsmt to print or log "HOOKED"

you can do that with the original tweak

Posted
1 minute ago, castix said:

you can do that with the original tweak

No! I mean i have a command tool running on /usr/bin/sampletool and now i want creat a tweak to hook method printsmt in sampletool

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines