feat: add new features such as multi-attach, alerts, hex viewer, snapshot diff, pointer resolve, CT import#13
Merged
Merged
Conversation
Take two snapshots of a memory region at different points in time and see which bytes changed. Useful for reverse-engineering save data or finding dynamic values without a known starting value. - CLI: option 23d — interactive snapshot A → wait → snapshot B → diff - API: POST /api/snapshot/take, POST /api/snapshot/diff - Library: TakeSnapshot, DiffSnapshots, WriteDiff in modify package
Combines: freeze-interval, better-error-messages, parallel-scan, pagination, split-main, and snapshot-diff into a single branch.
New AlertWatcher supports condition-based monitoring: - Conditions: above threshold, below threshold, value changed - Actions: notify only, or auto-write a value when triggered - CLI: 22a (set alert), 22r (remove alert) - Alerts are cleaned up on detach
Add a hex dump endpoint GET /api/memory/hexdump that reads raw bytes from a given address and returns them as structured JSON lines. Add a corresponding "Hex Viewer" panel in the Web UI sidebar that displays memory in classic offset | hex | ASCII format.
Add ResolveChain() that takes a saved chain (base module label + offsets), finds the module in the current process maps, and walks the pointer chain to compute the final address. Useful for surviving ASLR across restarts. Adds CLI command "pr" and POST /api/pointer/resolve endpoint.
Parse CheatEngine XML cheat table files and import their entries as bookmarks. Supports address parsing (hex, module+offset) and maps CE variable types to internal value types. Adds CLI command "ct" and POST /api/import/ct endpoint.
Replace the flat table for pointer scan results with a tree view that groups chains by base module. Each module shows its chains with indented offset paths, making it easier to identify stable pointer paths across different shared libraries.
Multiple processes can now be attached simultaneously. The active process (used for search/modify) can be switched between them: - Attach multiple PIDs via options 2 or 1s - 3s: switch active process among attached ones - 3l: list all attached processes (* marks active) - Detach auto-switches to next attached process if available
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.
Summary
3schanges
Changes
internal/memory/watch/alert.go— AlertWatcher with condition-based monitoringinternal/memory/modify/snapshot.go— TakeSnapshot, DiffSnapshots, WriteDiffinternal/memory/pointer/resolve.go— ResolveChain for ASLR-aware address resolutioninternal/memory/store/cheatengine.go— CT file XML parserinternal/app/state.go— multi-attach tracking, snapshot storage, AlertWatcherinternal/server/handlers.go— new endpoints: hexdump, snapshot, pointer resolve, CT importinternal/server/static/index.html— hex viewer panel, pointer tree visualizationcli_memory.go/cli_process.go/main.go— CLI handlers and menu entriesTest plan
go build ./...passesgolangci-lint run ./...passes3s22a, verify it fires on threshold cross23dsnapshot diff — take snapshot, modify in target, see diffprresolve pointer chain with module name + offsetsctimport a .CT file, verify bookmarks appear