mirror of
https://github.com/LSPosed/LSPlant.git
synced 2025-05-04 20:42:02 +08:00
Avoid prttymethod during SetStatus
It may crash
This commit is contained in:
parent
a67f36b695
commit
3f513a43d1
@ -42,8 +42,7 @@ private:
|
||||
[[unlikely]] {
|
||||
for (auto method : found->second) {
|
||||
if (method->IsStatic()) {
|
||||
LOGV("Backup hooked method %s because of initialization",
|
||||
method->PrettyMethod(true).data());
|
||||
LOGV("Backup hooked method %p because of initialization", method);
|
||||
out.emplace_back(method, method->GetEntryPoint());
|
||||
}
|
||||
}
|
||||
@ -55,8 +54,7 @@ private:
|
||||
found != deoptimized_classes_.end()) [[unlikely]] {
|
||||
for (auto method : found->second) {
|
||||
if (method->IsStatic()) {
|
||||
LOGV("Backup deoptimized method %s because of initialization",
|
||||
method->PrettyMethod(true).data());
|
||||
LOGV("Backup deoptimized method %p because of initialization", method);
|
||||
out.emplace_back(method, method->GetEntryPoint());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user