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
Method
default
()
crates/assembler/src/preprocessor/mod.rs:47
Method
default
()
crates/debugger/src/parser.rs:49
Method
default
()
crates/common/src/execute/test_utils.rs:24
Method
default
()
crates/runtime/src/config.rs:15
Method
default
()
crates/vm/src/vm.rs:26
Method
disabled
()
crates/assembler/src/ast.rs:40
Method
drop
(&mut self)
tests/utils.rs:19
Function
e2e_accounts_preserved
()
crates/runtime/src/serialize.rs:229
Function
elf_magic
(magic: &[u8; 4], serializer: S)
crates/disassembler/src/elf_header.rs:21
Method
enabled
()
crates/assembler/src/ast.rs:44
Method
entry_block_id
The global BlockId of this function's entry (first) block, if any.
crates/sbpf_ir/src/cfg.rs:66
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/assembler/src/lib.rs:110
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/disassembler/src/program_header.rs:85
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/disassembler/src/section_header.rs:63
Method
fmt
(&self, f: &mut fmt::Formatter)
crates/common/src/inst_param.rs:12
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
crates/common/src/opcode.rs:440
Method
fmt_mem_off
(r: &Register, off: &Either<String, i16>)
crates/common/src/instruction.rs:202
Function
format_byte_values
(vals: &[i8])
crates/disassembler/src/rodata.rs:206
Method
format_location
Format a human-readable location string for diagnostics
crates/assembler/src/preprocessor/source_map.rs:175
Method
from
(arg: ArchArg)
src/commands/build.rs:47
Method
from
(err: SBPFError)
crates/disassembler/src/errors.rs:55
Method
from
(val: ProgramType)
crates/disassembler/src/program_header.rs:46
Method
from
(val: SectionHeaderType)
crates/disassembler/src/section_header.rs:69
Method
from
(static_map: &SyscallMap<'a>)
crates/common/src/syscalls_map.rs:124
Method
from
(opcode: Opcode)
crates/common/src/opcode.rs:576
Method
from
(path: &str)
crates/runtime/src/runtime.rs:31
Method
from
(static_map: &SyscallMap<'a>)
crates/sbpf-syscall-map/src/dynamic_map.rs:75
Method
from
(err: ExecutionError)
crates/vm/src/errors.rs:55
Method
from_bytes
(b: &[u8])
crates/disassembler/src/program.rs:33
Method
from_bytes
(b: &[u8])
crates/disassembler/src/wasm.rs:17
Method
from_bytes
(bytes: &[u8])
crates/common/src/instruction.rs:89
Method
from_bytes_sbpf_v2
(bytes: &[u8])
crates/common/src/instruction.rs:102
Method
from_bytes_sbpf_v3
(bytes: &[u8])
crates/common/src/instruction.rs:139
Method
from_elf_data
(file_data: &[u8])
crates/debugger/src/parser.rs:71
Method
from_elf_file
(file_path: &str)
crates/debugger/src/parser.rs:66
Method
from_elf_file
Parse relocation entries from the provided ELF file
crates/disassembler/src/relocation.rs:41
Method
from_elf_file
(elf_file: &ElfFile64<Endianness>)
crates/disassembler/src/program_header.rs:117
Method
from_elf_file
(elf_file: &ElfFile64<Endianness>)
crates/disassembler/src/elf_header.rs:55
Method
from_elf_file
( elf_file: &ElfFile64<Endianness>, )
crates/disassembler/src/section_header.rs:109
Method
from_entries
Create from a pre-sorted slice of (hash, name) pairs Works for both static and dynamic lifetimes
crates/common/src/syscalls_map.rs:12
Method
from_entries
Create from a pre-sorted slice of (hash, name) pairs Works for both static and dynamic lifetimes
crates/sbpf-syscall-map/src/static_map.rs:12
Method
from_instruction
(source_node_id: usize, instruction: Instruction)
crates/sbpf_ir/src/dataflow.rs:21
Method
from_names
Create from string slices (convenience method)
crates/common/src/syscalls_map.rs:84
Method
from_names
Create from string slices (convenience method)
crates/sbpf-syscall-map/src/dynamic_map.rs:35
Method
from_parse_result
( ProgramLayout { code_section, data_section, dynamic_symbols,
crates/assembler/src/program.rs:23
Method
from_size
(size: &str, kind: MemOpKind)
crates/common/src/opcode.rs:835
Method
from_str
(s: &str)
crates/common/src/opcode.rs:352
Method
generate_debug_sections
( parsed_debug_sections: Vec<DebugSection>, debug_data: &Option<DebugData>, text_offse
crates/assembler/src/program.rs:441
Method
get
Look up a syscall by hash
crates/sbpf-syscall-map/src/dynamic_map.rs:40
Method
get_accounts
(&self)
crates/runtime/src/runtime.rs:422
Method
get_breakpoints_info
(&self)
crates/debugger/src/debugger.rs:151
Method
get_call_depth
(&self)
crates/vm/src/vm.rs:369
Method
get_entry_label
(&self)
crates/assembler/src/astnode.rs:54
Method
get_instruction
(&self)
crates/runtime/src/runtime.rs:447
Method
get_line_for_pc
(&self, pc: u64)
crates/debugger/src/parser.rs:212
Method
get_line_to_addresses
(&self)
crates/debugger/src/parser.rs:233
Method
get_line_to_pcs
(&self)
crates/debugger/src/parser.rs:237
Method
get_name
(&self)
crates/assembler/src/astnode.rs:67
Method
get_name
(&self)
crates/assembler/src/dynsym.rs:40
Method
get_pc
(&self)
crates/runtime/src/runtime.rs:391
Method
get_pc
(&self)
crates/vm/src/vm.rs:313
Method
get_pcs_for_line
(&self, line: usize)
crates/debugger/src/parser.rs:217
Method
get_register
(&self, idx: usize)
crates/runtime/src/runtime.rs:426
Method
get_register
(&self, reg: usize)
crates/vm/src/vm.rs:305
Method
get_registers
(&self)
crates/runtime/src/runtime.rs:395
Method
get_remaining
(&self)
crates/vm/src/compute.rs:23
Method
get_size
(&self)
crates/assembler/src/section.rs:53
Method
get_size
(&self)
crates/common/src/instruction.rs:32
Method
get_source_location
(&self, pc: u64)
crates/debugger/src/parser.rs:228
Method
get_stack_frame_size
(&self)
crates/vm/src/vm.rs:406
Method
halt
(&mut self, exit_code: u64)
crates/vm/src/vm.rs:401
Method
handle
( &mut self, name: &str, registers: [u64; 5], memory: &mut Memory, com
crates/runtime/src/syscalls/mod.rs:90
Method
handle_syscall
(&mut self, name: &str)
crates/vm/src/vm.rs:410
Method
has_rodata
(&self)
crates/assembler/src/program.rs:465
Function
hash_slices
( memory: &mut Memory, compute: &ComputeMeter, costs: &ExecutionCost, vals_addr: u64, vals
crates/runtime/src/syscalls/crypto.rs:66
Function
hex_list
Render the acceptable values for an ELF header field, e.g. `0xf7 or 0x107`.
crates/disassembler/src/errors.rs:8
Function
instruction_node
( opcode: Opcode, dst: Option<u8>, offset: u64, off: Option<Either<String, i16
crates/assembler/src/optimizer/mod.rs:320
Function
internal_call_node
(offset: u64, relative_offset: i64)
crates/assembler/src/ast.rs:734
Method
is_empty
(&self)
crates/sbpf-syscall-map/src/dynamic_map.rs:68
Method
label
(&self)
crates/common/src/errors.rs:14
Function
label_node
(name: &str, offset: u64)
crates/assembler/src/ast.rs:705
Function
label_node
(name: &str, offset: u64)
crates/assembler/src/optimizer/mod.rs:310
Function
link
(source: &str)
src/commands/link.rs:4
Method
log_collector
(&self)
crates/runtime/src/runtime.rs:472
Function
main
()
build.rs:10
Function
main
()
src/main.rs:44
Function
make_and_refund
()
crates/runtime/src/lib.rs:294
Function
make_and_take
()
crates/runtime/src/lib.rs:65
Function
make_line
(text: &str, line: u32)
crates/assembler/src/preprocessor/expand.rs:454
Function
make_source_line
(text: &str, line: u32)
crates/assembler/src/preprocessor/macro_def.rs:218
Function
make_test_instruction
( opcode: sbpf_common::opcode::Opcode, dst: Option<sbpf_common::inst_param::Register>,
crates/vm/src/vm.rs:441
Method
max_call_depth
(&self)
crates/vm/src/vm.rs:373
Function
meta
(pubkey: Address, is_signer: bool, is_writable: bool)
crates/runtime/src/cpi/builtins/system.rs:409
Function
missing_account_errors
()
crates/runtime/src/serialize.rs:315
Method
name
(&self)
crates/assembler/src/section.rs:10
Method
name_offset
(&self)
crates/assembler/src/section.rs:703
Method
new
(key: K, value: V)
tests/utils.rs:8
Method
new
Create a new Assembler with the given options
crates/assembler/src/lib.rs:138
Method
new
()
crates/assembler/src/header.rs:71
Method
new
(nodes: Vec<ASTNode>, size: u64)
crates/assembler/src/section.rs:39
← previous
next →
601–700 of 1,407, ranked by callers