once ❝ published name Reconstructed 91.5% of control flow structured Anchor ◇ GRzKU9i3Cs7A5Euf9gGZjbRnpypw7DzaU3hWRfUgpYTa copy decompiled 22 Oct 2026
Identity · published metadata ▾
Loader ■ v3 · upgradeable
sBPF ■ v0
Size ■ 556,728 bytes
Instructions ● 58,814
Functions ● 412
SHA-256 ● 23200e76…1d4a7b42
Upgrade authority ■ 8gop…M677
Last deploy slot ■ 459,519,774 ❝ Published by the authors · their claims, not revrsly output Verified build github.com/call-once/once-program @ 1ee2ebf · ✓ hash matches this bytecode IDL · none publishedsecurity.txt · embedded ■ read from the bytes view Loading the reconstruction…
Functions
Other functions 354
+ 294 more · type to filter
set_once_handler ▾
disassembly.txt fn set_once_handler · .text+0x42bd8 · 178 ins · 50 blocks · 207 lines · annotated sBPF; offsets are bytes into .text copy ↓ .txt download disassembly.txt · fn set_once_handler · 1 caller ◇ named by evidence
0x42bd8 mov64 r8, r4
0x42be0 mov64 r9, r3
0x42be8 mov64
Evidence why revrsly believes it ×
Function ◇ Inferred
set_once_handler
◇ Where the dispatch sends the set_once instruction, after its "Instruction: SetOnce" log: Anchor's wrapper, which loads the accounts and calls the program's handler.
● .text+0x42bd8 · 178 instructions · 50 blocks
● 1 caller
◇ takes 4 arguments (from register use)
r7, r2
0x42bf8 lddw r1, 0x7a536 ■ "Instruction: SetOnce"
0x42c10 call sol_log_ ■ log a string: "Instruction: SetOnce"
0x42c18 stdw [r10- 0x78 ], 0x0
0x42c20 stdw [r10- 0x88 ], 0x0
0x42c28 stxdw [r10- 0x68 ], r8
0x42c30 stxdw [r10- 0x70 ], r9
0x42c48 stxdw [r10- 0xff0 ], r1
0x42c80 call set_once_try_accounts
0x42c88 ldxdw r2, [r10- 0x20 ]
0x42c90 ldxdw r1, [r10- 0x28 ]
0x42c98 ldxdw r3, [r10- 0x30 ]
0x42ca0 jeq r3, 0x0 , L_42f40
0x42ca8 ldxdw r4, [r10- 0x8 ]
0x42cb0 stxdw [r10- 0x38 ], r4
0x42cb8 ldxdw r4, [r10- 0x10 ]
0x42cc0 stxdw [r10- 0x40 ], r4
0x42cc8 ldxdw r4, [r10- 0x18 ]
0x42cd0 stxdw [r10- 0x48 ], r4
0x42cd8 stxdw [r10- 0x50 ], r2
0x42ce0 stxdw [r10- 0x58 ], r1
0x42ce8 stxdw [r10- 0x60 ], r3
0x42cf0 ldxdw r1, [r10- 0x68 ]
0x42cf8 stxdw [r10- 0x18 ], r1
0x42d00 ldxdw r1, [r10- 0x70 ]
0x42d08 stxdw [r10- 0x20 ], r1
0x42d20 stxdw [r10- 0x28 ], r1
0x42d28 stxdw [r10- 0x30 ], r7
0x42d58 ldxdw r1, [r10- 0x98 ]
0x42d60 jne r1, 0x2 , L_42f38
0x42d98 ldxdw r2, [r10- 0xa0 ]
0x42da0 ldxdw r1, [r10- 0xa8 ]
0x42da8 ldxdw r4, [r10- 0x88 ]
0x42db0 jeq r4, 0x0 , L_43148
0x42db8 ldxdw r5, [r10- 0x80 ]
0x42dc0 ldxdw r3, [r10- 0x78 ]
0x42dc8 jeq r3, 0x0 , L_43110
0x42e00 jeq r3, 0x0 , L_43138
0x42e08 jeq r0, 0x0 , L_42e48
0x42e28 ldxh r0, [r4+ 0x16a ]
0x42e30 jge r7, r0, L_42e88
0x42e50 jeq r5, 0x0 , L_42e70
0x42e58 ldxdw r4, [r4+ 0x170 ]
0x42e68 jne r5, 0x0 , L_42e58
0x42e78 ldxh r0, [r4+ 0x16a ]
0x42e80 jlt r7, r0, L_42e38
0x42e88 ldxdw r8, [r4+ 0x160 ]
0x42e90 jeq r8, 0x0 , L_43160
0x42ea0 ldxh r7, [r4+ 0x168 ]
0x42ea8 ldxh r0, [r8+ 0x16a ]
0x42eb8 jge r7, r0, L_42e88
0x42ec8 jeq r5, 0x0 , L_42de0
0x42ee8 ldxdw r0, [r8+ 0x0 ]
0x42f08 jne r5, 0x0 , L_42ee8
0x42f28 jne r3, 0x0 , L_42e08
0x42f38 ldxdw r2, [r10- 0x90 ]
0x42f40 ldxdw r4, [r10- 0x88 ]
0x42f48 jeq r4, 0x0 , L_43148
0x42f50 ldxdw r5, [r10- 0x80 ]
0x42f58 ldxdw r3, [r10- 0x78 ]
0x42f60 jeq r3, 0x0 , L_430d0
0x42f98 jeq r3, 0x0 , L_430f8
0x42fa0 jeq r0, 0x0 , L_42fe0
0x42fc0 ldxh r0, [r4+ 0x16a ]
0x42fc8 jge r7, r0, L_43020
0x42fe8 jeq r5, 0x0 , L_43008
0x42ff0 ldxdw r4, [r4+ 0x170 ]
0x43000 jne r5, 0x0 , L_42ff0
0x43010 ldxh r0, [r4+ 0x16a ]
0x43018 jlt r7, r0, L_42fd0
0x43020 ldxdw r8, [r4+ 0x160 ]
0x43028 jeq r8, 0x0 , L_43160
0x43038 ldxh r7, [r4+ 0x168 ]
0x43040 ldxh r0, [r8+ 0x16a ]
0x43050 jge r7, r0, L_43020
0x43060 jeq r5, 0x0 , L_42f78
0x43080 ldxdw r0, [r8+ 0x0 ]
0x430a0 jne r5, 0x0 , L_43080
0x430c0 jne r3, 0x0 , L_42fa0
0x430d8 jeq r5, 0x0 , L_430f8
0x430e0 ldxdw r0, [r0+ 0x170 ]
0x430f0 jne r5, 0x0 , L_430e0
0x430f8 ldxdw r0, [r0+ 0x160 ]
0x43100 jne r0, 0x0 , L_430f8
0x43118 jeq r5, 0x0 , L_43138
0x43120 ldxdw r0, [r0+ 0x170 ]
0x43130 jne r5, 0x0 , L_43120
0x43138 ldxdw r0, [r0+ 0x160 ]
0x43140 jne r0, 0x0 , L_43138
0x43148 stxdw [r6+ 0x8 ], r2
0x43150 stxdw [r6+ 0x0 ], r1
0x43160 lddw r1, 0x7e0c0 ■ panic location /home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/collections/btree/navigate.rs:600:48