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