smart_arb ◇ inferred name Reconstructed 93.7% of control flow structured Anchor ◇ 5aMAKxzyqesf1dn7cDLPdGxwshZf1aVNavYzAQQU32Fg copy decompiled 14 Oct 2026
Identity · published metadata ▾
Loader ■ v3 · upgradeable
sBPF ■ v0
Size ■ 424,472 bytes
Instructions ● 43,919
Functions ● 655
SHA-256 ● 6a840638…44e19500
Upgrade authority ■ 8tZL…1LQR
Last deploy slot ■ 449,218,614 ❝ Published by the authors · nothing, so everything here is revrsly output Verified build · noneIDL · none publishedsecurity.txt · none
Loading the reconstruction…
Evidence why revrsly believes it ×
Click any underlined name — an instruction, a function, an account, an error — to see the evidence behind it.
Syscalls used ■ observed abort ×5 sol_get_clock_sysvar ×1 sol_get_rent_sysvar ×1 sol_get_return_data ×1 sol_invoke_signed_rust ×1 sol_log_ ×23 sol_log_pubkey ×1 sol_memcmp_ ×1 sol_memcpy_ ×2 sol_memmove_ ×1 sol_memset_ ×2 sol_set_return_data ×1 sol_sha256 ×1 sol_try_find_program_address ×1
Source files ■ named by panic locations in the bytes 342 panic sites in 53 files. Only files that can panic appear, so this isn't the whole source tree.
programs/smart_arb/src/ 139 sites src/ 50 sites bpf_writer.rs
programs/smart_arb/src/quote/ 42 sites src/algorithms/div/ 33 sites src/algorithms/ 7 sites src/extension/ 7 sites src/de/ 6 sites alloc/src/ 5 sites core/src/fmt/ 4 sites core/src/unicode/ 4 sites src/accounts/ 2 sites src/ser/ 2 sites core/src/str/ 1 site rust/library/alloc/src/ 13 sites · Rust standard library rust/library/std/src/io/ 11 sites · Rust standard library rust/library/alloc/src/collections/btree/ 10 sites · Rust standard library rust/library/core/src/iter/traits/ 2 sites · Rust standard library rust/library/core/src/ops/ 2 sites · Rust standard library rust/library/alloc/src/collections/btree/map/ 1 site · Rust standard library rust/library/core/src/ 1 site · Rust standard library Strings ■ observed · first 80 of 363 .rodata+0x20 "The given account is not mutable"
.rodata+0x40 "core/src/unicode/unicode_data.rs"
.rodata+0x60 "src/algorithms/div/reciprocal.rs"
.rodata+0x80 "index out of bounds: the len is "
.rodata+0xa0 "AccountNotAssociatedTokenAccount"
.rodata+0xe0 "A signer constraint was violated"
.rodata+0x120 "assertion failed: idx < CAPACITY"
.rodata+0x140 "An owner constraint was violated"
.rodata+0x160 "ProgramError caused by account: "
.rodata+0x180 "src/accounts/account.rs"
.rodata+0x197 "src/accounts/program.rs"
.rodata+0x1ae "failed to write whole buffer"
.rodata+0x1ca "/home/runner/work/platform-tools/platform-tools/out/rust/library/std/src/io/mod.rs"
.rodata+0x21c "mid > len"
.rodata+0x225 "/home/runner/work/platform-tools/platform-tools/out/rust/library/std/src/io/impls.rs"
.rodata+0x279 "failed to fill whole buffer"
.rodata+0x294 "/home/runner/work/platform-tools/platform-tools/out/rust/library/std/src/io/cursor.rs"
.rodata+0x2e9 "a Display implementation returned an error unexpectedly"
.rodata+0x320 "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/string.rs"
.rodata+0x374 "assertion failed: min <= max"
.rodata+0x390
security.txt ❝ published by the authors, read from the bytes This binary doesn't embed one.
What this decompilation can't tell you The author's variable names, types and struct layouts are not in stripped bytecode: stack slots become typed locals named by offset, and registers that live across blocks stay registers. Calls through a register (callx) are not followed; functions reached only that way are found from the code addresses the program holds. Instruction arguments are recovered as byte layouts (offsets and sizes) for Anchor-style dispatch; names and exact types come only from a published IDL. Program-defined error codes are shown, but their names and messages were not found. Downloads Each code file opens with a note that it is a reconstruction from the bytecode, not the authors' source.
1 site
"/home/runner/work/platform-tools/platform-tools/out/rust/library/core/src/cmp.rs"
.rodata+0x3e0 "/home/runner/work/platform-tools/platform-tools/out/rust/library/core/src/iter/traits/iterator.rs"
.rodata+0x441 "called `Result::unwrap()` on an `Err` value"
.rodata+0x46c "src/de/mod.rs"
.rodata+0x479 "Unexpected length of input"
.rodata+0x493 "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/slice.rs"
.rodata+0x4e6 "Invalid bool representation: "
.rodata+0x508 "/home/runner/work/platform-tools/platform-tools/out/rust/library/core/src/iter/traits/accum.rs"
.rodata+0x566 "/home/runner/work/platform-tools/platform-tools/out/rust/library/core/src/ops/bit.rs"
.rodata+0x5ba "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/collections/btree/navigate.rs"
.rodata+0x622 "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/collections/btree/map/entry.rs"
.rodata+0x68b "/home/runner/work/platform-tools/platform-tools/out/rust/library/alloc/src/collections/btree/node.rs"
.rodata+0x6ef "assertion failed: edge.height == self.height - 1"
.rodata+0x71f "assertion failed: src.len() == dst.len()"
.rodata+0x747 "assertion failed: edge.height == self.node.height - 1"
.rodata+0x77c "src/ser/mod.rs"
.rodata+0x98a "Divisor is zero"
.rodata+0x999 "src/algorithms/div/mod.rs"
.rodata+0x9b2 "src/algorithms/div/small.rs"
.rodata+0x9cd "src/algorithms/mul.rs"
.rodata+0xa08 "alloc/src/fmt.rs"
.rodata+0xa18 ") when slicing `"
.rodata+0xa28 "Division by zero"
.rodata+0xa48 "range end index "
.rodata+0xa58 ". Error Number: "
.rodata+0xa78 "AccountNotSigner"
.rodata+0xac8 "src/bits.rs"
.rodata+0xad3 "TryFromSliceError"
.rodata+0xae4 "TryFromIntError"
.rodata+0xaf3 "Unexpected variant index: "
.rodata+0xb0d "MaxSeedLengthExceeded"
.rodata+0xb22 "InvalidSeeds"
.rodata+0xb40 "InvalidArgument"
.rodata+0xb4f "InvalidInstructionData"
.rodata+0xb65 "InvalidAccountData"
.rodata+0xbad "MissingRequiredSignature"
.rodata+0xbc5 "AccountAlreadyInitialized"
.rodata+0xc06 "AccountBorrowFailed"
.rodata+0xc19 "BorshIoError"
.rodata+0xc25 "AccountNotRentExempt"
.rodata+0xc39 "UnsupportedSysvar"
.rodata+0xc4a "MaxAccountsDataAllocationsExceeded"
.rodata+0xc6c "InvalidRealloc"
.rodata+0xc7a "MaxInstructionTraceLengthExceeded"
.rodata+0xc9b "BuiltinProgramsMustConsumeComputeUnits"
.rodata+0xcc1 "src/entrypoint.rs"
.rodata+0xcd2 "programs/smart_arb/src/calc.rs"
.rodata+0xcf0 "programs/smart_arb/src/leg_result.rs"
.rodata+0xd14 "programs/smart_arb/src/quote/clmm_math.rs"
.rodata+0xd3d "programs/smart_arb/src/quote/meteora_damm_v2_quote.rs"
⋯ the rest are in report.json