Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MarginResearch/cannoli
/ functions
Functions
168 in github.com/MarginResearch/cannoli
⨍
Functions
168
◇
Types & classes
52
↓ 11 callers
Function
get_aarch64_reg_le
(regs: &[u8], register: Aarch64Reg)
extensions/arch/src/aarch64.rs:109
↓ 10 callers
Method
write
Invoked when a memory store was lifted from the trace with a given access size in bytes Executed on multiple threads This is a high-performance para
cannoli/src/lib.rs:1091
↓ 8 callers
Function
get_mips_reg_le
(regs: &[u8], register: MipsReg)
extensions/arch/src/mipsel32.rs:83
↓ 7 callers
Function
get_arm_reg_le
(regs: &[u8], register: ArmReg)
extensions/arch/src/armv5tel.rs:76
↓ 5 callers
Function
errno
()
mempipe/src/lib.rs:162
↓ 5 callers
Method
resolve
Attempt to resolve a symbol into a symbol and an offset
examples/symbolizer/src/main.rs:47
↓ 4 callers
Function
rdtsc
Get the time stamp counter
examples/benchmark/src/main.rs:8
↓ 4 callers
Method
request_ticket
Requests a ticket. By taking a ticket you are saying that you are ready to process data and will be polling `try_recv`. This determines your order in
mempipe/src/lib.rs:549
↓ 4 callers
Method
uid
Get the UID for the pipe
mempipe/src/lib.rs:276
↓ 3 callers
Method
addr
(self)
examples/backtrace/src/utils/utils.rs:27
↓ 3 callers
Function
filename_from_uid
(uid: u64)
mempipe/src/lib.rs:155
↓ 3 callers
Function
get_u8
helper functions to handle consuming from buffer, since the consume macro can throw an error which is not tolerated by functions which have a defined
cannoli/src/lib.rs:281
↓ 3 callers
Method
try_recv
(&self, ticket: Ticket, mut func: F)
mempipe/src/lib.rs:565
↓ 2 callers
Method
alloc_buffer
(&mut self, blocking: bool)
mempipe/src/lib.rs:292
↓ 2 callers
Function
function_two
examples/backtrace/backtrace_test.c:5
↓ 2 callers
Function
get_u64
(v: &mut &[u8])
cannoli/src/lib.rs:289
↓ 2 callers
Method
into
(self)
extensions/arch/src/default.rs:38
↓ 2 callers
Method
log_event
(&self)
examples/backtrace/src/utils/backtrace.rs:87
↓ 2 callers
Function
pin_core
(core: usize)
mempipe/benchmark/benchmark.rs:6
↓ 2 callers
Function
rdtsc
Get the time stamp counter
examples/benchmark_graph/src/main.rs:8
↓ 2 callers
Method
resolve
Attempt to resolve a symbol into a symbol and an offset
examples/backtrace/src/utils/backtrace.rs:112
↓ 2 callers
Method
set_pixel
(&mut self, addr: u32, color: (u8, u8, u8))
examples/visualization/src/main.rs:32
↓ 1 callers
Method
draw
(&mut self, window: &mut Window<Renderer>)
examples/visualization/src/main.rs:142
↓ 1 callers
Function
function_one
examples/backtrace/backtrace_test.c:9
↓ 1 callers
Function
get_args
(_regs: &[u8])
extensions/arch/src/default.rs:45
↓ 1 callers
Function
get_return_address
(_regs: &[u8])
extensions/arch/src/default.rs:49
↓ 1 callers
Function
get_return_value
(_regs: &[u8])
extensions/arch/src/default.rs:53
↓ 1 callers
Function
get_stack_pointer
(_regs: &[u8])
extensions/arch/src/default.rs:57
↓ 1 callers
Function
get_u32
(v: &mut &[u8])
cannoli/src/lib.rs:285
↓ 1 callers
Method
into
(self)
extensions/arch/src/mipsel32.rs:20
↓ 1 callers
Method
is_branch
(&self)
examples/backtrace/src/utils/backtrace.rs:75
↓ 1 callers
Method
is_entry
(&self)
examples/backtrace/src/utils/utils.rs:36
↓ 1 callers
Method
is_return
(&self, pc: u64)
examples/backtrace/src/utils/backtrace.rs:57
↓ 1 callers
Method
pop_backtrace
(&self)
examples/backtrace/src/utils/backtrace.rs:37
↓ 1 callers
Method
pop_return_stack
(&self)
examples/backtrace/src/utils/backtrace.rs:51
↓ 1 callers
Method
push_backtrace
(&self, symbol: &'static str, addr: u64)
examples/backtrace/src/utils/backtrace.rs:28
↓ 1 callers
Method
push_return_stack
(&self, ra: u64)
examples/backtrace/src/utils/backtrace.rs:43
↓ 1 callers
Method
set_branch_flag
(&self)
examples/backtrace/src/utils/backtrace.rs:79
↓ 1 callers
Method
symbol
(self)
examples/backtrace/src/utils/utils.rs:30
↓ 1 callers
Method
trace
When a new sequential chunk of traces is available, this is invoked. This is _always_ invoked sequentially, such that the traces could be concatenated
cannoli/src/lib.rs:1102
↓ 1 callers
Method
unset_branch_flag
(&self)
examples/backtrace/src/utils/backtrace.rs:83
Function
aarch64_regs
()
extensions/arch/src/lib.rs:215
Function
arm_regs
()
extensions/arch/src/lib.rs:225
Method
bitness
(&self)
cannoli/src/lib.rs:199
Method
branch
Invoked when execution of an instruction with branch tracing occurs Executed on multiple threads This is a high-performance parallel callback, and i
cannoli/src/lib.rs:1050
Method
branch
(_pid: &Self::PidContext, tid: &Self::TidContext, pc: u64, branch: bool, regs: &[u8], trace: &mut
examples/backtrace/src/main.rs:64
Method
create
Create a pipe
mempipe/src/lib.rs:169
Method
create
(_window: &mut Window<Self>)
examples/visualization/src/main.rs:228
Method
default
()
jitter/src/cannoli_internals.rs:102
Method
default
()
examples/backtrace/src/utils/backtrace.rs:16
Method
drop
(&mut self)
mempipe/src/lib.rs:324
Method
drop
(&mut self)
examples/benchmark/src/main.rs:25
Method
exec
Invoked when a PC execution opcode was lifted from the trace Executed on multiple threads This is a high-performance parallel callback, and is a pri
cannoli/src/lib.rs:1013
Method
exec
(_pid: &Self::PidContext, _tid: &Self::TidContext, pc: u64, trace: &mut Vec<Self::Trace>)
examples/visualization/src/main.rs:68
Method
exec
(_pid: &Self::PidContext, _tid: &Self::TidContext, _pc: u64, trace: &mut Vec<Self::Trace>)
examples/benchmark/src/main.rs:63
Method
exec
(_pid: &Self::PidContext, _tid: &Self::TidContext, pc: u64, trace: &mut Vec<Self::Trace>)
examples/coverage/src/main.rs:163
Method
exec
(_pid: &Self::PidContext, _tid: &Self::TidContext, _pc: u64, trace: &mut Vec<Self::Trace>)
examples/benchmark_graph/src/main.rs:49
Method
exec
Convert PCs into symbol + offset in parallel
examples/symbolizer/src/main.rs:124
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
extensions/arch/src/mipsel32.rs:77
Method
fmt
(&self, f: &mut std::fmt::Formatter)
examples/backtrace/src/utils/utils.rs:16
Method
fmt
(&self, f: &mut std::fmt::Formatter)
examples/symbolizer/src/main.rs:20
Method
from
(val: i32)
cannoli/src/lib.rs:124
Method
from
(val: usize)
extensions/arch/src/armv5tel.rs:27
Method
from
(val: u32)
extensions/arch/src/default.rs:11
Method
from
(val: TargetSyscallNum)
extensions/arch/src/lib.rs:83
Method
from
(val: usize)
extensions/arch/src/mipsel32.rs:26
Method
from
(val: usize)
extensions/arch/src/aarch64.rs:40
Method
from_cstr
Convert a `UNAME_MACHINE` C-string to an [`Architecture`] # Safety Expects a pointer to a valid null-terminatedf string
cannoli/src/lib.rs:164
Function
get_args
Get the standard arm argument registers r0..r3
extensions/arch/src/armv5tel.rs:82
Function
get_args
(regs: &[u8])
extensions/arch/src/mipsel32.rs:153
Function
get_args
(regs: &[u8])
extensions/arch/src/aarch64.rs:115
Method
get_raw
(&mut self)
mempipe/src/lib.rs:393
Function
get_return_address
(regs: &[u8])
extensions/arch/src/armv5tel.rs:92
Function
get_return_address
(regs: &[u8])
extensions/arch/src/mipsel32.rs:163
Function
get_return_address
(regs: &[u8])
extensions/arch/src/aarch64.rs:129
Function
get_return_value
(regs: &[u8])
extensions/arch/src/armv5tel.rs:98
Function
get_return_value
(regs: &[u8])
extensions/arch/src/mipsel32.rs:169
Function
get_return_value
(regs: &[u8])
extensions/arch/src/aarch64.rs:135
Function
get_stack_pointer
(regs: &[u8])
extensions/arch/src/armv5tel.rs:104
Function
get_stack_pointer
(regs: &[u8])
extensions/arch/src/mipsel32.rs:175
Function
get_stack_pointer
(regs: &[u8])
extensions/arch/src/aarch64.rs:141
Function
handle_client
Handle a newly connected client. This is run on a new thread each time a new TCP connection comes in.
cannoli/src/lib.rs:659
Function
handle_connection
(mut stream: TcpStream, threads: usize)
cannoli/src/lib.rs:915
Function
hook_inst
(_pc: u64, _branch: bool)
jitter_always/src/lib.rs:10
Function
hook_inst
(_pc: u64, _branch: bool)
examples/regtrace/src/lib.rs:10
Function
hook_inst
(_pc: u64, _branch: bool)
examples/backtrace/src/lib.rs:4
Function
hook_inst
(_pc: u64, _branch: bool)
examples/coverage/src/lib.rs:10
Function
hook_inst
(_pc: u64, _branch: bool)
examples/symbolizer/src/lib.rs:10
Function
hook_mem
(_pc: u64, _write: bool, _size: usize)
jitter_always/src/lib.rs:19
Function
hook_mem
(_pc: u64, _write: bool, _size: usize)
examples/regtrace/src/lib.rs:20
Function
hook_mem
(_pc: u64, _write: bool, _size: usize)
examples/backtrace/src/lib.rs:11
Function
hook_mem
(_pc: u64, _write: bool, _size: usize)
examples/coverage/src/lib.rs:21
Function
hook_mem
(_pc: u64, _write: bool, _size: usize)
examples/symbolizer/src/lib.rs:19
Function
hook_user_syscall
()
jitter_always/src/lib.rs:24
Function
hook_user_syscall
()
examples/regtrace/src/lib.rs:26
Function
hook_user_syscall
()
examples/backtrace/src/lib.rs:16
Function
hook_user_syscall
()
examples/coverage/src/lib.rs:27
Function
hook_user_syscall
()
examples/symbolizer/src/lib.rs:24
Method
init_pid
(_: &cannoli::ClientInfo)
examples/regtrace/src/main.rs:23
Method
init_pid
(_: &cannoli::ClientInfo)
examples/visualization/src/main.rs:58
next →
1–100 of 168, ranked by callers