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 ▾
1 // set_once_handler · 178 instructions · 1 caller · 12 gotos
2 // panic locations in this function: /home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/collections/btree/navigate.rs:600
3 fn set_once_handler ( mut r1: u64 , mut
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)
r2:
u64
,
mut
r3:
u64
,
mut
r4:
u64
) ->
u64
{
4 let mut local_ff0: u64 = 0 ;
5 let mut local_a8: u64 = 0 ;
6 let mut local_a0: u64 = 0 ;
7 let mut local_98: u64 = 0 ;
8 let mut local_90: u64 = 0 ;
9 let mut local_88: u64 = 0 ;
10 let mut local_80: u64 = 0 ;
11 let mut local_78: u64 = 0 ;
12 let mut local_70: u64 = 0 ;
13 let mut local_68: u64 = 0 ;
14 let mut local_60: u64 = 0 ;
15 let mut local_58: u64 = 0 ;
16 let mut local_50: u64 = 0 ;
17 let mut local_48: u64 = 0 ;
18 let mut local_40: u64 = 0 ;
19 let mut local_38: u64 = 0 ;
20 let mut local_30: u64 = 0 ;
21 let mut local_28: u64 = 0 ;
22 let mut local_20: u64 = 0 ;
23 let mut local_18: u64 = 0 ;
24 let mut local_10: u64 = 0 ;
25 let mut local_8: u64 = 0 ;
30 sol_log_ ( "Instruction: SetOnce" , 0x14 ); // log a string ■ string · 20 B
35 local_ff0 = &local_88;
36 r0 = set_once_try_accounts (&local_30, r7, &local_70, r4, fp);
51 r0 = set_once (&local_98, &local_30);
54 r0 = fn_15630(&local_a8, &local_60, r7);
65 r0 = *((r0 + 0x170 ) as * const u64 );
75 r0 = *((r0 + 0x160 ) as * const u64 );
81 *((r6 + 8 ) as * mut u64 ) = r2;
82 *((r6) as * mut u64 ) = r1;
92 if r7 < *((r4 + 0x16a ) as * const u16 ) {
105 /* continues at L_43138; not expressible as structured Rust */ ● an edge Rust can't hold
107 r8 = r8 + (r7 << 3 ) + 0x170 ;
109 r0 = *((r8) as * const u64 );
127 r8 = *((r4 + 0x160 ) as * const u64 );
130 r7 = *((r4 + 0x168 ) as * const u16 );
132 if r7 >= *((r8 + 0x16a ) as * const u16 ) {
137 r1 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/collections/btree/navigate.rs:600:48" ); ■ string · 111 B
140 /* continues at L_42ec0; not expressible as structured Rust */ ● an edge Rust can't hold
143 r4 = *((r4 + 0x170 ) as * const u64 );
150 /* continues at L_42e70; not expressible as structured Rust */ ● an edge Rust can't hold
155 if r7 >= *((r4 + 0x16a ) as * const u16 ) {
156 /* continues at L_42e88; not expressible as structured Rust */ ● an edge Rust can't hold
158 /* continues at L_42e38; not expressible as structured Rust */ ● an edge Rust can't hold
160 /* continues at L_43138; not expressible as structured Rust */ ● an edge Rust can't hold
162 *((r6 + 8 ) as * mut u64 ) = r2;
163 *((r6) as * mut u64 ) = r1;
176 r0 = *((r0 + 0x170 ) as * const u64 );
186 r0 = *((r0 + 0x160 ) as * const u64 );
192 *((r6 + 8 ) as * mut u64 ) = r2;
193 *((r6) as * mut u64 ) = r1;
203 if r7 < *((r4 + 0x16a ) as * const u16 ) {
216 /* continues at L_430f8; not expressible as structured Rust */ ● an edge Rust can't hold
218 r8 = r8 + (r7 << 3 ) + 0x170 ;
220 r0 = *((r8) as * const u64 );
234 /* continues at L_430f8; not expressible as structured Rust */ ● an edge Rust can't hold
238 r8 = *((r4 + 0x160 ) as * const u64 );
241 r7 = *((r4 + 0x168 ) as * const u16 );
243 if r7 >= *((r8 + 0x16a ) as * const u16 ) {
246 /* continues at L_43058; not expressible as structured Rust */ ● an edge Rust can't hold
253 r4 = *((r4 + 0x170 ) as * const u64 );
260 /* continues at L_43008; not expressible as structured Rust */ ● an edge Rust can't hold
265 if r7 >= *((r4 + 0x16a ) as * const u16 ) {
266 /* continues at L_43020; not expressible as structured Rust */ ● an edge Rust can't hold
268 /* continues at L_42fd0; not expressible as structured Rust */ ● an edge Rust can't hold
270 r1 = & Location ( "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/collections/btree/navigate.rs:600:48" ); ■ string · 111 B
273 *((r6 + 8 ) as * mut u64 ) = r2;
274 *((r6) as * mut u64 ) = r1;