Skip to content

Add executable md5/sha256 to OpenProgram metadata - #17

Merged
0xeb merged 1 commit into
mainfrom
feat/program-hashes
Jun 23, 2026
Merged

Add executable md5/sha256 to OpenProgram metadata#17
0xeb merged 1 commit into
mainfrom
feat/program-hashes

Conversation

@0xeb

@0xeb 0xeb commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Carries the program's executable MD5 and SHA-256 through the OpenProgram response so clients can surface them (e.g. ghidrasql's db_info).

Program.getExecutableMD5()/getExecutableSHA256() are recorded by the loader at import; both are null-guarded into empty strings.

Layers: proto field 6/7 on OpenProgramResponse · host builder (SessionRuntime.describeCurrentProgram) · RpcDispatcher mapping · C++ model + parser. Regenerated session stubs (java/cpp/python).

Verified: /bin/ls → md5 985bea2a65d1e56f182cae5c1c2e71be (matches the import log) + sha256; ELF fixture likewise. Backward-compatible (additive proto fields). Consumer side: 0xeb/ghidrasql#10.

Carry the program's executable MD5 and SHA-256 (Program.getExecutableMD5/
getExecutableSHA256, recorded by the loader at import) through the OpenProgram
response so clients can surface them. Adds two proto fields, the host builder
(null-guarded), the RpcDispatcher mapping, and the C++ client model/parser.
Regenerated session stubs (java/cpp/python).

Enables ghidrasql db_info.md5/sha256 (ghidrasql #1 residual).
@0xeb
0xeb merged commit adb8ee1 into main Jun 23, 2026
16 checks passed
@0xeb
0xeb deleted the feat/program-hashes branch June 23, 2026 14:48
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