obfuscator-llvm / obfuscator

3.81k stars 1.16k forks source link

How to add annotations for objective-c method? #146

Open NB-Dragon opened 4 years ago

NB-Dragon commented 4 years ago

The method will declare like this

- (void) start {
  // do anything.
}

When I try to annotation like that, which checked by IDA was not effective.

- (void) start __attribute((__annotate__(("nobcf")))) {
  // do anything.
}
songguoguo321 commented 3 years ago

__attribute__

TannerJin commented 3 years ago

@NB-Dragon you can try this https://github.com/TannerJin/ollvm-project/tree/release/apple_12.0.0