Skip to content

Fix and refactor DexParser implementation#509

Merged
JingMatrix merged 2 commits intomasterfrom
refactor
Jan 20, 2026
Merged

Fix and refactor DexParser implementation#509
JingMatrix merged 2 commits intomasterfrom
refactor

Conversation

@JingMatrix
Copy link
Owner

In the LSPosedDexParser constructor, the methodIds array is allocated correctly, but the loop condition is wrong: its length is divided by 3 twice.

We rewrite this class in Kotlin, marking the first commit of refactoring LSPosed into Vector.

In the LSPosedDexParser constructor, the methodIds array is allocated correctly, but the loop condition is wrong: its length is divided by 3 twice.

We rewrite this class in Kotlin, marking the first commit of refactoring LSPosed into Vector.
@JingMatrix
Copy link
Owner Author

To ensure that the jni functions work properly, the native code should be renamed as well.

@JingMatrix JingMatrix marked this pull request as draft January 19, 2026 10:41
@JingMatrix JingMatrix marked this pull request as ready for review January 19, 2026 15:01
@JingMatrix JingMatrix merged commit 81ac5b0 into master Jan 20, 2026
1 check passed
JingMatrix added a commit that referenced this pull request Jan 21, 2026
In the LSPosedDexParser constructor, the methodIds array is allocated correctly, but the loop condition is wrong: its length is divided by 3 twice.

We rewrite this class in Kotlin, marking the first commit of refactoring LSPosed into Vector.

Co-authored-by: Willian Wang <git@willian.wang>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant