-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Identify GMS process with app data dir #8
Conversation
Process name can never get trusted.
@gooroodev review |
Please double-check what I found in the pull request:
Summary of Proposed Changes
Identified Issues
Issue 1: Best PracticesID: 1 Explanation: File Path: Lines of Code: #define SET_FIELD(CLAZZ, FIELD, VALUE) ({ \
auto id = env_->GetStaticFieldID(CLAZZ, FIELD, "Ljava/lang/String;"); \
env_->SetStaticObjectField(buildClass, id, env_->NewStringUTF(VALUE)); }) Proposed Fix: #define SET_FIELD(CLAZZ, FIELD, VALUE) ({ \
auto id = env_->GetStaticFieldID(CLAZZ, FIELD, "Ljava/lang/String;"); \
env_->SetStaticObjectField(CLAZZ, id, env_->NewStringUTF(VALUE)); }) Explanation of Fix: Issue 2: ReadabilityID: 2 Explanation: File Path: Lines of Code: #define SET_FIELD(CLAZZ, FIELD, VALUE) ({ \
auto id = env_->GetStaticFieldID(CLAZZ, FIELD, "Ljava/lang/String;"); \
env_->SetStaticObjectField(buildClass, id, env_->NewStringUTF(VALUE)); }) Proposed Fix: #define SET_FIELD(CLAZZ, FIELD, VALUE) ({ \
auto id = env_->GetStaticFieldID(CLAZZ, FIELD, "Ljava/lang/String;"); \
env_->SetStaticObjectField(CLAZZ, id, env_->NewStringUTF(VALUE)); }) Explanation of Fix: General ReviewThe code quality is generally good, with improvements in readability and best practices. The use of -- |
stupid, there is a uaf |
a21ebd6 merged |
Process name can never get trusted.