MCPcopy Create free account

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

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

↓ 1 callersFunctionexecute_load_memory
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/mod.rs:142
↓ 1 callersFunctionexecute_store_immediate
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/mod.rs:152
↓ 1 callersFunctionexecute_store_register
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/mod.rs:162
↓ 1 callersFunctionexecute_unary
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/mod.rs:129
↓ 1 callersFunctionexpand_line
Expand a single line, checking if it's a macro invocation.
crates/assembler/src/preprocessor/expand.rs:62
↓ 1 callersFunctionexpand_repetitions
Expand `.rept` and `.irp` blocks (these are processed before macro expansion).
crates/assembler/src/preprocessor/expand.rs:332
↓ 1 callersFunctionexpected_debug_hash_mut
(case: &mut Case, arch: sbpf_assembler::SbpfArch)
crates/assembler/tests/regression.rs:77
↓ 1 callersFunctionexpected_hash_mut
(case: &mut Case, arch: sbpf_assembler::SbpfArch)
crates/assembler/tests/regression.rs:70
↓ 1 callersFunctionextract_label_from_pair
( pair: Pair<Rule>, )
crates/assembler/src/parser/mod.rs:613
↓ 1 callersMethodfile_ids
Get all registered file IDs
crates/assembler/src/preprocessor/source_map.rs:53
↓ 1 callersMethodfinalize
(self)
crates/runtime/src/syscalls/crypto.rs:26
↓ 1 callersMethodfinish
(&mut self)
crates/debugger/src/debugger.rs:439
↓ 1 callersMethodfinish
(self)
crates/runtime/src/serialize.rs:44
↓ 1 callersMethodfinish
(mut self)
crates/sbpf_ir/src/cfg.rs:322
↓ 1 callersFunctionfirst_token
Extract the first whitespace-delimited token from a line. Skips labels (tokens ending with ':').
crates/assembler/src/preprocessor/expand.rs:124
↓ 1 callersFunctionfixed_point_analyze
Run a fixed-point analysis from multiple start nodes, iterating until the per-node state stops changing.
crates/sbpf_ir/src/graph_engine/worklist.rs:119
↓ 1 callersFunctionfixtures_dir
()
crates/assembler/tests/syntax.rs:6
↓ 1 callersFunctionfunction_entries
(ast: &AST)
crates/assembler/src/optimizer/mod.rs:113
↓ 1 callersMethodfunction_entries
(&self)
crates/assembler/src/ast.rs:77
↓ 1 callersFunctionfunction_node_ids
(function: &CfgFunction)
crates/analyzer/src/remove_dead_functions.rs:55
↓ 1 callersFunctiongenerate_dwarf_sections
Generate DWARF sections using gimli
crates/assembler/src/debug.rs:93
↓ 1 callersMethodget_addresses_for_line
(&self, line: usize)
crates/debugger/src/parser.rs:208
↓ 1 callersFunctionget_imm_u64
(inst: &Instruction)
crates/common/src/execute/helpers.rs:27
↓ 1 callersMethodget_instruction
(&self)
crates/debugger/src/debugger.rs:345
↓ 1 callersMethodget_label
(&self, address: u64)
crates/disassembler/src/rodata.rs:90
↓ 1 callersMethodget_label_for_address
(&self, address: u64)
crates/debugger/src/parser.rs:196
↓ 1 callersMethodget_line_for_address
(&self, address: u64)
crates/debugger/src/parser.rs:204
↓ 1 callersMethodget_memory
(&self, address: u64, size: usize)
crates/debugger/src/debugger.rs:395
↓ 1 callersMethodget_program
(&self)
crates/runtime/src/runtime.rs:452
↓ 1 callersMethodget_register
(&self, idx: usize)
crates/debugger/src/debugger.rs:327
↓ 1 callersMethodget_remaining
(&self)
crates/vm/src/vm.rs:131
↓ 1 callersMethodget_rodata
(&self)
crates/debugger/src/debugger.rs:337
↓ 1 callersMethodget_rodata_at_offset
(&self, offset: u64)
crates/assembler/src/ast.rs:110
↓ 1 callersMethodget_rodata_info
Get the raw rodata bytes and the virtual address where it's loaded in memory
crates/disassembler/src/program.rs:358
↓ 1 callersMethodget_source_location
(&self, pc: u64)
crates/debugger/src/debugger.rs:370
↓ 1 callersMethodget_stack_frames
(&self)
crates/debugger/src/debugger.rs:410
↓ 1 callersMethodget_symbols
(&self)
crates/assembler/src/dynsym.rs:104
↓ 1 callersMethodget_text_offset
(&self)
crates/debugger/src/parser.rs:200
↓ 1 callersMethodget_val
(&self)
crates/assembler/src/astnode.rs:70
↓ 1 callersMethodhalt
(&mut self, exit_code: u64)
crates/common/src/execute/test_utils.rs:197
↓ 1 callersMethodhandle
( &mut self, name: &str, _registers: [u64; 5], _memory: &mut Memory, _
crates/vm/src/syscalls.rs:21
↓ 1 callersMethodhandle_syscall
(&mut self, name: &str)
crates/common/src/execute/test_utils.rs:206
↓ 1 callersMethodhas_items
(&self)
crates/disassembler/src/rodata.rs:74
↓ 1 callersFunctionhas_keypair_file
Function to check if keypair file exists.
src/commands/build.rs:233
↓ 1 callersFunctionhas_so_files
(dir: &Path)
src/commands/test.rs:11
↓ 1 callersFunctioninit
(args: InitArgs)
src/commands/init.rs:32
↓ 1 callersFunctioninsert_temp_control_flow_target_labels
( nodes: &mut Vec<ASTNode>, labels_by_offset: HashMap<u64, Label>, )
crates/assembler/src/optimizer/canonicalize.rs:258
↓ 1 callersMethodinstruction
(&self)
crates/sbpf_ir/src/dataflow.rs:33
↓ 1 callersMethodinstruction_index_to_byte_offset
(&self, idx: usize)
crates/debugger/src/debugger.rs:313
↓ 1 callersMethodis_32bit
(&self)
crates/common/src/opcode.rs:909
↓ 1 callersFunctionis_ascii
(s: &str)
crates/disassembler/src/rodata.rs:194
↓ 1 callersFunctionis_builtin
(program_id: &Address)
crates/runtime/src/cpi/builtins/mod.rs:16
↓ 1 callersFunctionis_nonoverlapping
(src: u64, src_len: u64, dst: u64, dst_len: u64)
crates/runtime/src/syscalls/memory.rs:17
↓ 1 callersMethodis_pc_valid
(&self)
crates/vm/src/vm.rs:127
↓ 1 callersMethodis_syscall
Check if this is a syscall relocation
crates/disassembler/src/relocation.rs:102
↓ 1 callersMethodis_syscall
Checks if the instruction is a syscall. This should be used only when the call label hasn't been resolved to -1.
crates/common/src/instruction.rs:56
↓ 1 callersFunctionlabel_offset_map
(ast: &AST)
crates/assembler/src/ast.rs:389
↓ 1 callersFunctionlabel_to_block_map
(cfg: &Cfg)
crates/sbpf_ir/src/cfg.rs:468
↓ 1 callersMethodlen
(&self)
crates/sbpf-syscall-map/src/dynamic_map.rs:64
↓ 1 callersMethodline_length
Get the length of a 1-based line in a file (excluding newline).
crates/assembler/src/preprocessor/source_map.rs:79
↓ 1 callersFunctionload_session_from_asm
( asm_path: &str, parsed: ParsedInput, config: RuntimeConfig, )
crates/debugger/src/runner.rs:22
↓ 1 callersFunctionload_session_from_elf
( elf_path: &str, parsed: ParsedInput, config: RuntimeConfig, )
crates/debugger/src/runner.rs:59
↓ 1 callersMethodname
(&self)
crates/sbpf_ir/src/cfg.rs:53
↓ 1 callersFunctionnext_temp_control_flow_target_label_name
( offset: u64, existing_labels: &HashSet<String>, )
crates/assembler/src/optimizer/canonicalize.rs:210
↓ 1 callersMethodnode_ids
(&self)
crates/sbpf_ir/src/cfg.rs:28
↓ 1 callersMethodon_instruction
(&mut self, node_id: usize, instruction: &Instruction)
crates/sbpf_ir/src/cfg.rs:352
↓ 1 callersMethodon_label
(&mut self, node_id: usize, label: &str)
crates/sbpf_ir/src/cfg.rs:344
↓ 1 callersFunctionparse_account_infos_c
Parse C `SolAccountInfo` array.
crates/runtime/src/cpi/request.rs:143
↓ 1 callersFunctionparse_account_infos_rust
Parse Rust `AccountInfo` array.
crates/runtime/src/cpi/request.rs:175
↓ 1 callersFunctionparse_cpi_c
Parse sol_invoke_signed_c arguments from memory.
crates/runtime/src/cpi/request.rs:36
↓ 1 callersFunctionparse_cpi_rust
Parse sol_invoke_signed_rust arguments from memory.
crates/runtime/src/cpi/request.rs:91
↓ 1 callersMethodparse_debug_info_from_object
(&mut self, obj_file: &object::File)
crates/debugger/src/parser.rs:82
↓ 1 callersFunctionparse_dwarf_info
(file_data: &[u8])
crates/assembler/tests/debug.rs:13
↓ 1 callersFunctionparse_include_directive
Parse a `.include "path"` directive from a line. Returns Some(path) if the line is an include directive, None otherwise.
crates/assembler/src/preprocessor/include.rs:12
↓ 1 callersFunctionparse_params
Parse a comma-separated parameter list. Supports: `name`, `name=default`, `name:vararg`
crates/assembler/src/preprocessor/macro_def.rs:175
↓ 1 callersFunctionparse_rodata_items
( data: &[u8], base_address: u64, references: &BTreeSet<u64>, )
crates/disassembler/src/rodata.rs:107
↓ 1 callersMethodpop_frame
(&mut self)
crates/common/src/execute/test_utils.rs:193
↓ 1 callersMethodprepare
( &mut self, instruction: &SolanaInstruction, accounts: &[(Address, Account)], )
crates/runtime/src/runtime.rs:268
↓ 1 callersFunctionpreprocess
Run the full preprocessor pipeline: 1. Resolve `.include` directives (flatten files) 2. Expand `.macro`/`.endm`, `.rept`/`.endr`, `.irp`/`.endr` The
crates/assembler/src/preprocessor/mod.rs:132
↓ 1 callersFunctionprocess_alu_imm
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, label_offset_map: &HashMap<String, (Numbe
crates/assembler/src/parser/default.rs:167
↓ 1 callersFunctionprocess_alu_reg
( pair: Pair<Rule>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/default.rs:196
↓ 1 callersFunctionprocess_directive_inner
(pair: Pair<Rule>, ctx: &mut ParseContext)
crates/assembler/src/parser/directive.rs:18
↓ 1 callersFunctionprocess_directive_statement
(pair: Pair<Rule>, ctx: &mut ParseContext)
crates/assembler/src/parser/directive.rs:12
↓ 1 callersFunctionprocess_jump_uncond
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/default.rs:330
↓ 1 callersFunctionprocess_jump_uncond
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/llvm.rs:350
↓ 1 callersFunctionprocess_label
(pair: Pair<Rule>, ctx: &mut ParseContext)
crates/assembler/src/parser/mod.rs:483
↓ 1 callersFunctionprocess_load
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/default.rs:67
↓ 1 callersFunctionprocess_load
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/llvm.rs:223
↓ 1 callersFunctionprocess_neg32
( pair: Pair<Rule>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/default.rs:353
↓ 1 callersFunctionprocess_neg64
( pair: Pair<Rule>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/default.rs:375
↓ 1 callersFunctionprocess_statement
(pair: Pair<Rule>, ctx: &mut ParseContext)
crates/assembler/src/parser/mod.rs:436
↓ 1 callersFunctionprocess_store_imm
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, label_offset_map: &HashMap<String, (Numbe
crates/assembler/src/parser/default.rs:100
↓ 1 callersFunctionprocess_store_imm
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, label_offset_map: &HashMap<String, (Numbe
crates/assembler/src/parser/llvm.rs:265
↓ 1 callersFunctionprocess_store_reg
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/default.rs:134
↓ 1 callersFunctionprocess_store_reg
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/llvm.rs:308
↓ 1 callersMethodquit
(&mut self)
crates/debugger/src/debugger.rs:580
↓ 1 callersMethodr#continue
(&mut self)
crates/debugger/src/debugger.rs:444
↓ 1 callersFunctionreachable_functions
(cfg: &Cfg)
crates/analyzer/src/remove_dead_functions.rs:63
↓ 1 callersMethodread_account_data
(&mut self, post_len: usize, pre_len: usize)
crates/runtime/src/serialize.rs:145
↓ 1 callersMethodread_address
(&mut self)
crates/runtime/src/serialize.rs:137
← previousnext →401–500 of 1,407, ranked by callers