Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blueshift-gg/sbpf
/ functions
Functions
1,407 in github.com/blueshift-gg/sbpf
⨍
Functions
1,407
◇
Types & classes
183
↓ 1 callers
Function
execute_load_memory
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/mod.rs:142
↓ 1 callers
Function
execute_store_immediate
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/mod.rs:152
↓ 1 callers
Function
execute_store_register
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/mod.rs:162
↓ 1 callers
Function
execute_unary
(vm: &mut dyn Vm, inst: &Instruction)
crates/common/src/execute/mod.rs:129
↓ 1 callers
Function
expand_line
Expand a single line, checking if it's a macro invocation.
crates/assembler/src/preprocessor/expand.rs:62
↓ 1 callers
Function
expand_repetitions
Expand `.rept` and `.irp` blocks (these are processed before macro expansion).
crates/assembler/src/preprocessor/expand.rs:332
↓ 1 callers
Function
expected_debug_hash_mut
(case: &mut Case, arch: sbpf_assembler::SbpfArch)
crates/assembler/tests/regression.rs:77
↓ 1 callers
Function
expected_hash_mut
(case: &mut Case, arch: sbpf_assembler::SbpfArch)
crates/assembler/tests/regression.rs:70
↓ 1 callers
Function
extract_label_from_pair
( pair: Pair<Rule>, )
crates/assembler/src/parser/mod.rs:613
↓ 1 callers
Method
file_ids
Get all registered file IDs
crates/assembler/src/preprocessor/source_map.rs:53
↓ 1 callers
Method
finalize
(self)
crates/runtime/src/syscalls/crypto.rs:26
↓ 1 callers
Method
finish
(&mut self)
crates/debugger/src/debugger.rs:439
↓ 1 callers
Method
finish
(self)
crates/runtime/src/serialize.rs:44
↓ 1 callers
Method
finish
(mut self)
crates/sbpf_ir/src/cfg.rs:322
↓ 1 callers
Function
first_token
Extract the first whitespace-delimited token from a line. Skips labels (tokens ending with ':').
crates/assembler/src/preprocessor/expand.rs:124
↓ 1 callers
Function
fixed_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 callers
Function
fixtures_dir
()
crates/assembler/tests/syntax.rs:6
↓ 1 callers
Function
function_entries
(ast: &AST)
crates/assembler/src/optimizer/mod.rs:113
↓ 1 callers
Method
function_entries
(&self)
crates/assembler/src/ast.rs:77
↓ 1 callers
Function
function_node_ids
(function: &CfgFunction)
crates/analyzer/src/remove_dead_functions.rs:55
↓ 1 callers
Function
generate_dwarf_sections
Generate DWARF sections using gimli
crates/assembler/src/debug.rs:93
↓ 1 callers
Method
get_addresses_for_line
(&self, line: usize)
crates/debugger/src/parser.rs:208
↓ 1 callers
Function
get_imm_u64
(inst: &Instruction)
crates/common/src/execute/helpers.rs:27
↓ 1 callers
Method
get_instruction
(&self)
crates/debugger/src/debugger.rs:345
↓ 1 callers
Method
get_label
(&self, address: u64)
crates/disassembler/src/rodata.rs:90
↓ 1 callers
Method
get_label_for_address
(&self, address: u64)
crates/debugger/src/parser.rs:196
↓ 1 callers
Method
get_line_for_address
(&self, address: u64)
crates/debugger/src/parser.rs:204
↓ 1 callers
Method
get_memory
(&self, address: u64, size: usize)
crates/debugger/src/debugger.rs:395
↓ 1 callers
Method
get_program
(&self)
crates/runtime/src/runtime.rs:452
↓ 1 callers
Method
get_register
(&self, idx: usize)
crates/debugger/src/debugger.rs:327
↓ 1 callers
Method
get_remaining
(&self)
crates/vm/src/vm.rs:131
↓ 1 callers
Method
get_rodata
(&self)
crates/debugger/src/debugger.rs:337
↓ 1 callers
Method
get_rodata_at_offset
(&self, offset: u64)
crates/assembler/src/ast.rs:110
↓ 1 callers
Method
get_rodata_info
Get the raw rodata bytes and the virtual address where it's loaded in memory
crates/disassembler/src/program.rs:358
↓ 1 callers
Method
get_source_location
(&self, pc: u64)
crates/debugger/src/debugger.rs:370
↓ 1 callers
Method
get_stack_frames
(&self)
crates/debugger/src/debugger.rs:410
↓ 1 callers
Method
get_symbols
(&self)
crates/assembler/src/dynsym.rs:104
↓ 1 callers
Method
get_text_offset
(&self)
crates/debugger/src/parser.rs:200
↓ 1 callers
Method
get_val
(&self)
crates/assembler/src/astnode.rs:70
↓ 1 callers
Method
halt
(&mut self, exit_code: u64)
crates/common/src/execute/test_utils.rs:197
↓ 1 callers
Method
handle
( &mut self, name: &str, _registers: [u64; 5], _memory: &mut Memory, _
crates/vm/src/syscalls.rs:21
↓ 1 callers
Method
handle_syscall
(&mut self, name: &str)
crates/common/src/execute/test_utils.rs:206
↓ 1 callers
Method
has_items
(&self)
crates/disassembler/src/rodata.rs:74
↓ 1 callers
Function
has_keypair_file
Function to check if keypair file exists.
src/commands/build.rs:233
↓ 1 callers
Function
has_so_files
(dir: &Path)
src/commands/test.rs:11
↓ 1 callers
Function
init
(args: InitArgs)
src/commands/init.rs:32
↓ 1 callers
Function
insert_temp_control_flow_target_labels
( nodes: &mut Vec<ASTNode>, labels_by_offset: HashMap<u64, Label>, )
crates/assembler/src/optimizer/canonicalize.rs:258
↓ 1 callers
Method
instruction
(&self)
crates/sbpf_ir/src/dataflow.rs:33
↓ 1 callers
Method
instruction_index_to_byte_offset
(&self, idx: usize)
crates/debugger/src/debugger.rs:313
↓ 1 callers
Method
is_32bit
(&self)
crates/common/src/opcode.rs:909
↓ 1 callers
Function
is_ascii
(s: &str)
crates/disassembler/src/rodata.rs:194
↓ 1 callers
Function
is_builtin
(program_id: &Address)
crates/runtime/src/cpi/builtins/mod.rs:16
↓ 1 callers
Function
is_nonoverlapping
(src: u64, src_len: u64, dst: u64, dst_len: u64)
crates/runtime/src/syscalls/memory.rs:17
↓ 1 callers
Method
is_pc_valid
(&self)
crates/vm/src/vm.rs:127
↓ 1 callers
Method
is_syscall
Check if this is a syscall relocation
crates/disassembler/src/relocation.rs:102
↓ 1 callers
Method
is_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 callers
Function
label_offset_map
(ast: &AST)
crates/assembler/src/ast.rs:389
↓ 1 callers
Function
label_to_block_map
(cfg: &Cfg)
crates/sbpf_ir/src/cfg.rs:468
↓ 1 callers
Method
len
(&self)
crates/sbpf-syscall-map/src/dynamic_map.rs:64
↓ 1 callers
Method
line_length
Get the length of a 1-based line in a file (excluding newline).
crates/assembler/src/preprocessor/source_map.rs:79
↓ 1 callers
Function
load_session_from_asm
( asm_path: &str, parsed: ParsedInput, config: RuntimeConfig, )
crates/debugger/src/runner.rs:22
↓ 1 callers
Function
load_session_from_elf
( elf_path: &str, parsed: ParsedInput, config: RuntimeConfig, )
crates/debugger/src/runner.rs:59
↓ 1 callers
Method
name
(&self)
crates/sbpf_ir/src/cfg.rs:53
↓ 1 callers
Function
next_temp_control_flow_target_label_name
( offset: u64, existing_labels: &HashSet<String>, )
crates/assembler/src/optimizer/canonicalize.rs:210
↓ 1 callers
Method
node_ids
(&self)
crates/sbpf_ir/src/cfg.rs:28
↓ 1 callers
Method
on_instruction
(&mut self, node_id: usize, instruction: &Instruction)
crates/sbpf_ir/src/cfg.rs:352
↓ 1 callers
Method
on_label
(&mut self, node_id: usize, label: &str)
crates/sbpf_ir/src/cfg.rs:344
↓ 1 callers
Function
parse_account_infos_c
Parse C `SolAccountInfo` array.
crates/runtime/src/cpi/request.rs:143
↓ 1 callers
Function
parse_account_infos_rust
Parse Rust `AccountInfo` array.
crates/runtime/src/cpi/request.rs:175
↓ 1 callers
Function
parse_cpi_c
Parse sol_invoke_signed_c arguments from memory.
crates/runtime/src/cpi/request.rs:36
↓ 1 callers
Function
parse_cpi_rust
Parse sol_invoke_signed_rust arguments from memory.
crates/runtime/src/cpi/request.rs:91
↓ 1 callers
Method
parse_debug_info_from_object
(&mut self, obj_file: &object::File)
crates/debugger/src/parser.rs:82
↓ 1 callers
Function
parse_dwarf_info
(file_data: &[u8])
crates/assembler/tests/debug.rs:13
↓ 1 callers
Function
parse_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 callers
Function
parse_params
Parse a comma-separated parameter list. Supports: `name`, `name=default`, `name:vararg`
crates/assembler/src/preprocessor/macro_def.rs:175
↓ 1 callers
Function
parse_rodata_items
( data: &[u8], base_address: u64, references: &BTreeSet<u64>, )
crates/disassembler/src/rodata.rs:107
↓ 1 callers
Method
pop_frame
(&mut self)
crates/common/src/execute/test_utils.rs:193
↓ 1 callers
Method
prepare
( &mut self, instruction: &SolanaInstruction, accounts: &[(Address, Account)], )
crates/runtime/src/runtime.rs:268
↓ 1 callers
Function
preprocess
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 callers
Function
process_alu_imm
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, label_offset_map: &HashMap<String, (Numbe
crates/assembler/src/parser/default.rs:167
↓ 1 callers
Function
process_alu_reg
( pair: Pair<Rule>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/default.rs:196
↓ 1 callers
Function
process_directive_inner
(pair: Pair<Rule>, ctx: &mut ParseContext)
crates/assembler/src/parser/directive.rs:18
↓ 1 callers
Function
process_directive_statement
(pair: Pair<Rule>, ctx: &mut ParseContext)
crates/assembler/src/parser/directive.rs:12
↓ 1 callers
Function
process_jump_uncond
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/default.rs:330
↓ 1 callers
Function
process_jump_uncond
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/llvm.rs:350
↓ 1 callers
Function
process_label
(pair: Pair<Rule>, ctx: &mut ParseContext)
crates/assembler/src/parser/mod.rs:483
↓ 1 callers
Function
process_load
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/default.rs:67
↓ 1 callers
Function
process_load
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/llvm.rs:223
↓ 1 callers
Function
process_neg32
( pair: Pair<Rule>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/default.rs:353
↓ 1 callers
Function
process_neg64
( pair: Pair<Rule>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/default.rs:375
↓ 1 callers
Function
process_statement
(pair: Pair<Rule>, ctx: &mut ParseContext)
crates/assembler/src/parser/mod.rs:436
↓ 1 callers
Function
process_store_imm
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, label_offset_map: &HashMap<String, (Numbe
crates/assembler/src/parser/default.rs:100
↓ 1 callers
Function
process_store_imm
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, label_offset_map: &HashMap<String, (Numbe
crates/assembler/src/parser/llvm.rs:265
↓ 1 callers
Function
process_store_reg
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/default.rs:134
↓ 1 callers
Function
process_store_reg
( pair: Pair<Rule>, const_map: &HashMap<String, Number>, span: std::ops::Range<usize>, )
crates/assembler/src/parser/llvm.rs:308
↓ 1 callers
Method
quit
(&mut self)
crates/debugger/src/debugger.rs:580
↓ 1 callers
Method
r#continue
(&mut self)
crates/debugger/src/debugger.rs:444
↓ 1 callers
Function
reachable_functions
(cfg: &Cfg)
crates/analyzer/src/remove_dead_functions.rs:63
↓ 1 callers
Method
read_account_data
(&mut self, post_len: usize, pre_len: usize)
crates/runtime/src/serialize.rs:145
↓ 1 callers
Method
read_address
(&mut self)
crates/runtime/src/serialize.rs:137
← previous
next →
401–500 of 1,407, ranked by callers