MCPcopy Create free account

hub / github.com/blueshift-gg/sbpf / functions

Functions1,407 in github.com/blueshift-gg/sbpf

↓ 3 callersMethodget_pcs_for_line
(&self, line: usize)
crates/debugger/src/debugger.rs:143
↓ 3 callersFunctionget_program_id
()
examples/sbpf-asm-vault/src/lib.rs:16
↓ 3 callersMethodinitial_frame_pointer
(&self)
crates/vm/src/memory.rs:45
↓ 3 callersFunctioninstruction
(opcode: Opcode, off: Option<Either<String, i16>>)
crates/analyzer/src/dump_cfg.rs:119
↓ 3 callersMethodinstructions
(&self)
crates/sbpf_ir/src/cfg.rs:36
↓ 3 callersMethodoffset
(&self)
crates/assembler/src/section.rs:695
↓ 3 callersFunctionparse_input
(input: &str)
crates/debugger/src/input.rs:56
↓ 3 callersFunctionparse_with_optimization
( source: &str, arch: SbpfArch, optimization: OptimizationConfig, )
crates/assembler/src/parser/mod.rs:90
↓ 3 callersFunctionprocess_instruction
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, label_offset_map: &HashMap<String, (Numbe
crates/assembler/src/parser/mod.rs:599
↓ 3 callersMethodpush_current_block
(&mut self)
crates/sbpf_ir/src/cfg.rs:338
↓ 3 callersMethodrelative_offset
Return this relocation's offset relative to the provided base offset
crates/disassembler/src/relocation.rs:97
↓ 3 callersFunctionrun_command
Run a command and return the output, panicking on failure
tests/utils.rs:103
↓ 3 callersMethodset_rel_count
(&mut self, count: u64)
crates/assembler/src/section.rs:352
↓ 3 callersMethodskip
(&mut self, n: usize)
crates/runtime/src/serialize.rs:133
↓ 3 callersMethodspan
(&self)
crates/common/src/errors.rs:22
↓ 3 callersMethodto_i16
(&self)
crates/common/src/inst_param.rs:24
↓ 3 callersMethodto_operator
(&self)
crates/common/src/opcode.rs:863
↓ 3 callersMethodto_size
(&self)
crates/common/src/opcode.rs:853
↓ 3 callersFunctiontransfer
( accounts: &mut HashMap<Address, Account>, instruction: &CpiRequest, signers: &[Address], lam
crates/runtime/src/cpi/builtins/system.rs:188
↓ 3 callersFunctionvalidate_call_immediate
(inst: &Instruction)
crates/common/src/validate.rs:140
↓ 3 callersFunctionvalidate_jump
(inst: &Instruction)
crates/common/src/validate.rs:101
↓ 3 callersFunctionvalidate_load_memory
(inst: &Instruction)
crates/common/src/validate.rs:17
↓ 3 callersMethodvisit
(&mut self, node: N)
crates/sbpf_ir/src/graph_engine/dfs.rs:18
↓ 3 callersMethodwrite_u8
(&mut self, addr: u64, value: u8)
crates/vm/src/memory.rs:159
↓ 2 callersMethodadd_call_target
(&mut self, name: String, offset: u64)
crates/assembler/src/dynsym.rs:75
↓ 2 callersMethodadd_fallthrough_edge
(&mut self)
crates/sbpf_ir/src/cfg.rs:399
↓ 2 callersMethodalloc
(&mut self, size: usize)
crates/vm/src/memory.rs:201
↓ 2 callersFunctionallocate
( accounts: &mut HashMap<Address, Account>, instruction: &CpiRequest, signers: &[Address], spa
crates/runtime/src/cpi/builtins/system.rs:320
↓ 2 callersFunctionassemble
(filename: &str)
crates/assembler/tests/syntax.rs:10
↓ 2 callersFunctionassign
( accounts: &mut HashMap<Address, Account>, instruction: &CpiRequest, signers: &[Address], own
crates/runtime/src/cpi/builtins/system.rs:271
↓ 2 callersMethodblocks
(&self)
crates/sbpf_ir/src/cfg.rs:61
↓ 2 callersMethodcleanup
Clean up the test environment
tests/utils.rs:97
↓ 2 callersFunctioncollect_line_and_label_entries
Helper function to collect line and label entries
crates/assembler/src/lib.rs:288
↓ 2 callersFunctioncompute_syscall_entries
Runtime helper for dynamic syscall lists Computes hashes and sorts entries, borrowing from the input The caller must own the string data (e.g., Vec<S
crates/common/src/syscalls_map.rs:170
↓ 2 callersFunctionconsume_cpi_compute_units
Consume CUs for CPI.
crates/runtime/src/syscalls/mod.rs:52
↓ 2 callersMethodcopy
(&self)
crates/assembler/src/dynsym.rs:61
↓ 2 callersMethodcurrent_instruction
(&self)
crates/vm/src/vm.rs:117
↓ 2 callersFunctiondeploy_program
(program_name: &str, url: &str)
src/commands/deploy.rs:13
↓ 2 callersMethoddrain_logs
(&self)
crates/runtime/src/runtime.rs:476
↓ 2 callersFunctiondump_cfg
(cfg: &Cfg)
crates/analyzer/src/dump_cfg.rs:7
↓ 2 callersFunctioneliminate_unreachable_functions_with_observer
Removes unreachable functions and exposes the CFG before and after the pass. The observer owns any optional diagnostics or I/O, keeping the pass itsel
crates/assembler/src/optimizer/mod.rs:35
↓ 2 callersFunctioneval_expression
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, )
crates/assembler/src/parser/directive.rs:216
↓ 2 callersFunctioneval_operand_expression
Evaluate an expression used as an instruction operand. - A bare symbol not found in const_map or label_offset_map is returned as `Either::Left` for d
crates/assembler/src/parser/common.rs:58
↓ 2 callersFunctionexecute_binary_immediate
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/mod.rs:69
↓ 2 callersFunctionexecute_binary_register
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/mod.rs:99
↓ 2 callersFunctionexecute_cpi
(ctx: &mut CpiContext)
crates/runtime/src/cpi/mod.rs:50
↓ 2 callersFunctionexecute_lddw
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/load.rs:6
↓ 2 callersFunctionexecute_ldxb
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/load.rs:14
↓ 2 callersFunctionexecute_ldxdw
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/load.rs:47
↓ 2 callersFunctionexecute_ldxh
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/load.rs:25
↓ 2 callersFunctionexecute_ldxw
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/load.rs:36
↓ 2 callersFunctionexecute_neg32
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/alu32.rs:144
↓ 2 callersFunctionexecute_neg64
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/alu64.rs:82
↓ 2 callersFunctionexecute_stb
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/store.rs:6
↓ 2 callersFunctionexecute_stdw
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/store.rs:36
↓ 2 callersFunctionexecute_sth
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/store.rs:16
↓ 2 callersFunctionexecute_stw
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/store.rs:26
↓ 2 callersFunctionexecute_stxb
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/store.rs:46
↓ 2 callersFunctionexecute_stxdw
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/store.rs:76
↓ 2 callersFunctionexecute_stxh
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/store.rs:56
↓ 2 callersFunctionexecute_stxw
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/store.rs:66
↓ 2 callersFunctionfind_endr_block
Find the matching `.endr` for a `.rept` or `.irp` block, handling nesting.
crates/assembler/src/preprocessor/expand.rs:419
↓ 2 callersFunctionfixtures_dir
()
crates/runtime/src/lib.rs:31
↓ 2 callersFunctiongenerate_label
(offset: u64, data_type: &RodataType)
crates/disassembler/src/rodata.rs:199
↓ 2 callersMethodget_call_depth
(&self)
crates/common/src/execute/test_utils.rs:174
↓ 2 callersMethodget_call_targets
(&self)
crates/assembler/src/dynsym.rs:83
↓ 2 callersMethodget_compute_units
(&self)
crates/debugger/src/debugger.rs:341
↓ 2 callersMethodget_current_line
(&self)
crates/debugger/src/debugger.rs:130
↓ 2 callersMethodget_entrypoint_offset
Get the entrypoint offset
crates/disassembler/src/program.rs:464
↓ 2 callersMethodget_instruction_at_offset
(&mut self, offset: u64)
crates/assembler/src/ast.rs:92
↓ 2 callersFunctionget_program_id
()
examples/sbpf-asm-counter/src/lib.rs:14
↓ 2 callersMethodget_registers
(&self)
crates/debugger/src/debugger.rs:320
↓ 2 callersMethodget_rel_dyns
(&self)
crates/assembler/src/dynsym.rs:183
↓ 2 callersFunctionget_relocation_info
(inst: &Instruction)
crates/assembler/src/dynsym.rs:116
↓ 2 callersMethodget_stack_frame_size
(&self)
crates/common/src/execute/test_utils.rs:202
↓ 2 callersMethodget_symbol
(&self, name: &str)
crates/assembler/src/dynsym.rs:100
↓ 2 callersMethodget_symbols_by_kind
(&self, kind: SymbolKind)
crates/assembler/src/dynsym.rs:87
↓ 2 callersMethodhandle_cpi
(&mut self, request: cpi::request::CpiRequest)
crates/runtime/src/runtime.rs:341
↓ 2 callersFunctionhash_bytes
(bytes: &[u8])
crates/assembler/tests/regression.rs:66
↓ 2 callersMethodindex
Get the numeric index for this file ID (for use as a map key)
crates/assembler/src/preprocessor/source_map.rs:9
↓ 2 callersFunctioninit_project
Initialize a new SBPF project
tests/utils.rs:124
↓ 2 callersFunctioninstr_size
Determine instruction size from the parse tree (lddw = 16 bytes, all others = 8).
crates/assembler/src/parser/mod.rs:329
↓ 2 callersMethodinstruction
Returns an instruction by its global `InstId` (sequential position across all blocks).
crates/sbpf_ir/src/cfg.rs:143
↓ 2 callersFunctioninstruction_with_registers
( opcode: Opcode, dst: Option<u8>, src: Option<u8>, off: Option<Either<String,
crates/sbpf_ir/src/cfg.rs:636
↓ 2 callersMethodinto_ixs_inner
(self, resolve_offsets: bool)
crates/disassembler/src/program.rs:154
↓ 2 callersFunctionis_jump32_opcode
(opcode: Opcode)
crates/common/src/instruction.rs:405
↓ 2 callersFunctionis_signer
(pubkey: &Address, meta: &CpiAccountMeta, derived_signers: &[Address])
crates/runtime/src/cpi/builtins/system.rs:118
↓ 2 callersMethodis_v3
(&self)
crates/disassembler/src/program.rs:490
↓ 2 callersMethodlabels
(&self)
crates/sbpf_ir/src/cfg.rs:32
↓ 2 callersFunctionload_elf
Parse an ELF binary and return instructions, rodata, and entrypoint.
crates/runtime/src/elf.rs:10
↓ 2 callersFunctionload_session_from_bytes
( elf_bytes: Vec<u8>, parsed: ParsedInput, config: RuntimeConfig, elf_path: Option<PathBuf>, )
crates/debugger/src/runner.rs:68
↓ 2 callersMethodmake_stack_frame
(&self, index: usize, pc: u64)
crates/debugger/src/debugger.rs:399
↓ 2 callersMethodop_imm_bits
only used for be/le
crates/common/src/instruction.rs:66
↓ 2 callersFunctionparse_bytes_v3
(bytes: &[u8])
crates/common/src/decode.rs:26
↓ 2 callersFunctionparse_signers
Parse signers.
crates/runtime/src/cpi/request.rs:216
↓ 2 callersFunctionprocess_alu
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, label_offset_map: &HashMap<String, (Numbe
crates/assembler/src/parser/llvm.rs:137
↓ 2 callersFunctionprocess_call
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/common.rs:429
↓ 2 callersFunctionprocess_callx
( pair: Pair<Rule>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/common.rs:456
↓ 2 callersFunctionprocess_endian
( pair: Pair<Rule>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/common.rs:372
↓ 2 callersFunctionprocess_exit
(span: std::ops::Range<usize>)
crates/assembler/src/parser/common.rs:334
← previousnext →201–300 of 1,407, ranked by callers