Nextgen#1
Merged
Merged
Conversation
writeFloat allocated an 8-byte JNA buffer and passed nSize=8 to WriteProcessMemory, while a Java float is 4 bytes (JLS 4.2.1). The extra 4 bytes of the buffer were also written into the target process, silently overwriting adjacent memory. readFloat had the symmetric over-read (harmless, but corrected for consistency). Also make lpNumberOfBytesWritten consistent across writeFloat/ writeDouble (was null) by passing an IntByReference, matching writeInt/writeLong. README: move <repositories> out of <properties> (Maven POM schema: <repositories> is a top-level child of <project>) and wrap the dependency in <dependencies>. Bump pom version 1.0-SNAPSHOT -> 1.0.0 so JitPack can build a stable tag.
Expand README from the original installation snippet to a complete guide: requirements (Java 11, Windows, bitness matching, admin), JitPack install for Maven and Gradle, quick-start example, sections for typed read/write, pointer chains via copy/add/indirect64, AOB signature scanning with mask semantics, utility helpers, an API cheat sheet, JLS-based type size table, and a limitations section covering bitness, anti-cheat, and System.exit behavior. Credits section preserved (Princekin, Foiks, Backq).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.