MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / ClearAccessFlag

Method ClearAccessFlag

Bcore/src/main/cpp/jnihook/ArtM.cpp:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52bool ArtM::ClearAccessFlag(char *art_method, uint32_t flag) {
53 uint32_t old_flag = GetAccessFlags(art_method);
54 uint32_t new_flag = old_flag & ~flag;
55 return new_flag != old_flag && SetAccessFlags(art_method, new_flag);
56}
57
58bool ArtM::HasAccessFlag(char *art_method, uint32_t flag) {
59 uint32_t flags = GetAccessFlags(art_method);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected