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

Method AddAccessFlag

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

Source from the content-addressed store, hash-verified

44}
45
46bool ArtM::AddAccessFlag(char *art_method, uint32_t flag) {
47 uint32_t old_flag = GetAccessFlags(art_method);
48 uint32_t new_flag = old_flag | flag;
49 return new_flag != old_flag && SetAccessFlags(art_method, new_flag);
50}
51
52bool ArtM::ClearAccessFlag(char *art_method, uint32_t flag) {
53 uint32_t old_flag = GetAccessFlags(art_method);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected