Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is -[ClassName objCMethodToSuppress:]??? #1727

Open
midenok opened this issue Jan 30, 2024 · 1 comment
Open

What is -[ClassName objCMethodToSuppress:]??? #1727

midenok opened this issue Jan 30, 2024 · 1 comment

Comments

@midenok
Copy link

midenok commented Jan 30, 2024

Documentation says:

interceptor_via_fun:NameOfCFunctionToSuppress
interceptor_via_fun:-[ClassName objCMethodToSuppress:]
interceptor_via_lib:NameOfTheLibraryToSuppress

I can understand examples 1 and 3, but I don't understand example 2. No further explanation in documentation.

Can I use suppression of C++ method by standard name:

interceptor_via_fun:ClassName::MethodName

or must I use only C-mangled name?

@midenok midenok changed the title What is -[ClassName objCMethodToSuppress:]? What is -[ClassName objCMethodToSuppress:]??? Jan 30, 2024
@MarekR22
Copy link

MarekR22 commented Feb 9, 2024

@midenok Example 2 shows Objective C function. So you are confused by by Objective C syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants