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

Method SetAccessFlags

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

Source from the content-addressed store, hash-verified

39}
40
41bool ArtM::SetAccessFlags(char *art_method, uint32_t flags) {
42 *reinterpret_cast<uint32_t *>(art_method + GetArtMethodFlagsOffset()) = flags;
43 return true;
44}
45
46bool ArtM::AddAccessFlag(char *art_method, uint32_t flag) {
47 uint32_t old_flag = GetAccessFlags(art_method);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected