Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PLSysSec/veriwasm
/ functions
Functions
302 in github.com/PLSysSec/veriwasm
⨍
Functions
302
◇
Types & classes
54
↓ 72 callers
Method
get_reg
(&self, index: X86Regs, size: ValSize)
src/lattices/regslattice.rs:45
↓ 63 callers
Method
set_reg
(&mut self, index: X86Regs, size: ValSize, value: T)
src/lattices/regslattice.rs:61
↓ 44 callers
Method
get
(&self, offset: i64, size: u32)
src/lattices/stacklattice.rs:55
↓ 43 callers
Function
convert_operand
(op: yaxpeax_x86::long_mode::Operand, memsize: ValSize)
src/ir/x64.rs:63
↓ 35 callers
Function
loc
(addr: u64, idx: u32)
src/lattices/reachingdefslattice.rs:65
↓ 33 callers
Method
iter
()
src/ir/types.rs:526
↓ 19 callers
Function
get_operand_size
(op: &yaxpeax_x86::long_mode::Operand)
src/ir/x64.rs:208
↓ 17 callers
Function
negative_test_helper
(path: &str, func_name: &str, format: ExecutableType, arch: VwArch)
tests/testing.rs:103
↓ 17 callers
Method
update
(&mut self, offset: i64, value: T, size: u32)
src/lattices/stacklattice.rs:24
↓ 16 callers
Method
is_rsp
(&self)
src/ir/types.rs:143
↓ 15 callers
Method
set
(&mut self, index: &Value, value: T)
src/lattices/mod.rs:180
↓ 12 callers
Function
convert_memarg_reg
(reg: yaxpeax_x86::long_mode::RegSpec)
src/ir/x64.rs:52
↓ 9 callers
Function
negative_test_with_locals
(path: &str, func_name: &str, format: ExecutableType, arch: VwArch)
tests/testing.rs:127
↓ 9 callers
Method
update_stack_offset
(&mut self, adjustment: i64)
src/lattices/stacklattice.rs:73
↓ 8 callers
Method
get_probestack
(&self)
src/lattices/stackgrowthlattice.rs:46
↓ 8 callers
Method
get_rbp
(&self)
src/lattices/stackgrowthlattice.rs:53
↓ 8 callers
Method
get_stackgrowth
(&self)
src/lattices/stackgrowthlattice.rs:39
↓ 8 callers
Method
into_bytes
(self)
src/ir/types.rs:68
↓ 8 callers
Method
is_empty
(&self)
src/lattices/reachingdefslattice.rs:19
↓ 8 callers
Method
is_mem
(&self)
src/ir/types.rs:183
↓ 8 callers
Method
is_rbp
(&self)
src/ir/types.rs:151
↓ 8 callers
Function
median
(lst)
graph_stats.py:10
↓ 8 callers
Function
set_from_flags
(operand: Operand, flags: Vec<X86Regs>)
src/ir/x64.rs:233
↓ 7 callers
Method
check_mem_access
(&self, state: &HeapLattice, access: &Value, loc_idx: &LocIdx)
src/checkers/heap_checker.rs:303
↓ 7 callers
Function
run_worklist
( cfg: &VW_CFG, irmap: &IRMap, analyzer: &T, )
src/analyses/mod.rs:121
↓ 6 callers
Method
aeval_val
(&self, state: &LocalsLattice, value: &Value, loc_idx: &LocIdx)
src/analyses/locals_analyzer.rs:29
↓ 6 callers
Function
get_sources
Captures all register and flag sources TODO: Memory?
src/ir/x64.rs:149
↓ 6 callers
Method
is_stack_access
(&self)
src/ir/types.rs:254
↓ 5 callers
Method
adjust_stack_offset
(&mut self, opcode: &Binopcode, dst: &Value, src1: &Value, src2: &Value)
src/lattices/mod.rs:211
↓ 5 callers
Function
generic_clear
(instr: &X64Instruction)
src/ir/x64.rs:198
↓ 5 callers
Method
set_to_bot
(&mut self, index: &Value)
src/lattices/mod.rs:203
↓ 5 callers
Function
singleton
(loc_idx: LocIdx)
src/lattices/reachingdefslattice.rs:59
↓ 5 callers
Method
to_imm
(&self)
src/ir/types.rs:159
↓ 4 callers
Function
binop
(opcode: Binopcode, instr: &X64Instruction)
src/ir/x64.rs:265
↓ 4 callers
Method
check_state_at_statements
(&self, result: AnalysisResult<State>)
src/checkers/mod.rs:25
↓ 4 callers
Function
deconstruct_elf
( program: &ModuleData, )
src/loaders/utils.rs:35
↓ 4 callers
Function
full_test_helper
(path: &str, format: ExecutableType, arch: VwArch)
tests/testing.rs:59
↓ 4 callers
Function
get_symbol_addr
return addr of symbol if present, else None
src/loaders/utils.rs:28
↓ 4 callers
Function
mk_value_i64
(num: i64)
src/ir/types.rs:538
↓ 4 callers
Method
on_call
(&mut self)
src/lattices/mod.rs:207
↓ 4 callers
Function
parse_single_instr
( instrs: BlockInstrs<'a>, metadata: &VwMetadata, strict: bool, )
src/ir/x64.rs:976
↓ 4 callers
Function
run_helper
( config: Config, module: VwModule, plt_funcs: Vec<(u64, String)>, func_signatures: VwFuncInfo
src/runner/mod.rs:177
↓ 4 callers
Function
unop
(opcode: Unopcode, instr: &X64Instruction)
src/ir/x64.rs:240
↓ 4 callers
Function
unop_w_memsize
(opcode: Unopcode, instr: &X64Instruction, memsize: ValSize)
src/ir/x64.rs:257
↓ 3 callers
Method
aeval_vals
if all values are initialized then the value is initialized
src/analyses/locals_analyzer.rs:49
↓ 3 callers
Method
aexec
(&self, state: &mut HeapLattice, ir_stmt: &Stmt, loc: &LocIdx)
src/checkers/heap_checker.rs:69
↓ 3 callers
Function
convert_reg
(reg: yaxpeax_x86::long_mode::RegSpec)
src/ir/x64.rs:35
↓ 3 callers
Method
is_frame_access
(&self)
src/ir/types.rs:272
↓ 3 callers
Function
is_noninit_illegal
(v: &Value)
src/checkers/locals_checker.rs:32
↓ 3 callers
Function
lift
(instr: &X64Instruction, addr: &Addr, metadata: &VwMetadata, strict: bool)
src/ir/x64.rs:329
↓ 3 callers
Function
lift_cfg
(module: &VwModule, cfg: &VW_CFG, strict: bool)
src/ir/x64.rs:1029
↓ 3 callers
Function
load_program
(config: &Config)
src/loaders/mod.rs:15
↓ 3 callers
Function
mem_to_stack_offset
offset from current stack pointer returns None if points to heap
src/lattices/mod.rs:146
↓ 3 callers
Function
run
(filenames)
graph_stats.py:136
↓ 3 callers
Function
to_system_v_ret_ty
(sig: &Signature)
src/loaders/utils.rs:311
↓ 2 callers
Method
aexec
(&self, in_state: &mut HeapLattice, ir_instr: &Stmt, loc_idx: &LocIdx)
src/analyses/heap_analyzer.rs:29
↓ 2 callers
Method
analyze_block
(&self, state: &CallCheckLattice, irblock: &IRBlock)
src/analyses/call_analyzer.rs:81
↓ 2 callers
Function
analyze_reaching_defs
Top level function
src/analyses/reaching_defs.rs:13
↓ 2 callers
Method
as_imm_val
(&self)
src/ir/types.rs:239
↓ 2 callers
Function
branch
(instr: &X64Instruction)
src/ir/x64.rs:293
↓ 2 callers
Method
extract_stack_offset
(&self)
src/ir/types.rs:109
↓ 2 callers
Method
fetch_def
1. get enclosing block addr 2. get result for that block start 3. run reaching def up to that point
src/analyses/reaching_defs.rs:37
↓ 2 callers
Function
get_proxy_func_signatures
()
tests/testing.rs:20
↓ 2 callers
Function
hashmap_le
(s1: &X86RegsLattice<T>, s2: &X86RegsLattice<T>)
src/lattices/regslattice.rs:16
↓ 2 callers
Function
hashmap_le
check if StackLattice s1 is less than StackLattice s2
src/lattices/stacklattice.rs:82
↓ 2 callers
Method
into_bits
(self)
src/ir/types.rs:42
↓ 2 callers
Function
is_fn_ptr
(in_state: &CallCheckLattice, memargs: &MemArgs)
src/analyses/call_analyzer.rs:329
↓ 2 callers
Function
is_typeof
returns none if not a typeof op returns Some(regnum) if result is type of regnum
src/analyses/call_analyzer.rs:351
↓ 2 callers
Method
meet
(&self, other: &Self, _loc_idx: &LocIdx)
src/lattices/mod.rs:67
↓ 2 callers
Function
memarg_is_frame
(memarg: &MemArg)
src/checkers/heap_checker.rs:34
↓ 2 callers
Function
parse_cmovez
returns src of the cmove (dst must be the same) although it says bsf, it also handles bsr
src/ir/x64.rs:932
↓ 2 callers
Function
read_module_buffer
Finds and returns the data corresponding [addr..addr+size]
src/loaders/lucet.rs:193
↓ 2 callers
Method
show
(&self)
src/lattices/regslattice.rs:108
↓ 2 callers
Function
try_resolve_jumps
( module: &VwModule, contexts: &MergedContextTable, cfg: &VW_CFG, irmap: &IRMap, _addr: u6
src/ir/cfg.rs:28
↓ 2 callers
Function
valsize
(num: u32)
src/ir/types.rs:534
↓ 1 callers
Method
aeval_binop
checked_val << 4
src/analyses/call_analyzer.rs:428
↓ 1 callers
Method
aeval_binop
1. x = switch_base + offset
src/analyses/jump_analyzer.rs:186
↓ 1 callers
Method
aeval_unop
(&self, in_state: &CallCheckLattice, value: &Value)
src/analyses/call_analyzer.rs:370
↓ 1 callers
Method
aeval_unop
1. if unop is a constant, set as constant -- done 2. if reg, return reg -- done 3. if stack access, return stack access -- done 4. x = mem[switch_base
src/analyses/jump_analyzer.rs:170
↓ 1 callers
Method
aeval_unop
(&self, in_state: &HeapLattice, value: &Value)
src/analyses/heap_analyzer.rs:154
↓ 1 callers
Method
aeval_unop_mem
( &self, in_state: &SwitchLattice, memargs: &MemArgs, memsize: &ValSize, )
src/analyses/jump_analyzer.rs:140
↓ 1 callers
Method
aexec
(&self, in_state: &mut State, ir_instr: &Stmt, loc_idx: &LocIdx)
src/analyses/mod.rs:63
↓ 1 callers
Method
aexec
(&self, in_state: &mut ReachLattice, ir_instr: &Stmt, loc_idx: &LocIdx)
src/analyses/reaching_defs.rs:96
↓ 1 callers
Method
aexec
(&self, state: &mut LocalsLattice, ir_stmt: &Stmt, loc: &LocIdx)
src/checkers/locals_checker.rs:100
↓ 1 callers
Method
aexec_binop
( &self, in_state: &mut State, opcode: &Binopcode, dst: &Value, _src1:
src/analyses/mod.rs:47
↓ 1 callers
Method
aexec_binop
( &self, in_state: &mut HeapLattice, opcode: &Binopcode, dst: &Value,
src/analyses/heap_analyzer.rs:90
↓ 1 callers
Method
aexec_unop
( &self, in_state: &mut State, _opcode: &Unopcode, dst: &Value, _src:
src/analyses/mod.rs:37
↓ 1 callers
Method
aexec_unop
( &self, in_state: &mut HeapLattice, opcode: &Unopcode, dst: &Value, s
src/analyses/heap_analyzer.rs:58
↓ 1 callers
Function
align_succ_addrs
(addr: u64, succ_addrs: Vec<u64>)
src/analyses/mod.rs:100
↓ 1 callers
Method
all_args_are_init
(&self, state: &LocalsLattice, sig: FunType)
src/checkers/locals_checker.rs:37
↓ 1 callers
Method
analyze_block
(&self, state: &State, irblock: &IRBlock)
src/analyses/mod.rs:76
↓ 1 callers
Function
call
(instr: &X64Instruction, _metadata: &VwMetadata)
src/ir/x64.rs:297
↓ 1 callers
Method
check
(&self, result: AnalysisResult<LocalsLattice>)
src/checkers/locals_checker.rs:92
↓ 1 callers
Method
check
(&self, result: AnalysisResult<HeapLattice>)
src/checkers/heap_checker.rs:62
↓ 1 callers
Method
check
(&self, result: AnalysisResult<CallCheckLattice>)
src/checkers/call_checker.rs:36
↓ 1 callers
Method
check
(&self, result: AnalysisResult<StackGrowthLattice>)
src/checkers/stack_checker.rs:27
↓ 1 callers
Method
check_bp_read
(&self, state: &StackGrowthLattice, src: &Value)
src/checkers/stack_checker.rs:141
↓ 1 callers
Method
check_bp_write
(&self, state: &StackGrowthLattice, dst: &Value)
src/checkers/stack_checker.rs:178
↓ 1 callers
Function
check_calls
( result: AnalysisResult<CallCheckLattice>, irmap: &IRMap, analyzer: &CallAnalyzer, funcs: &Ve
src/checkers/call_checker.rs:19
↓ 1 callers
Method
check_calltable_lookup
(&self, state: &CallCheckLattice, memargs: &MemArgs)
src/checkers/call_checker.rs:100
next →
1–100 of 302, ranked by callers