Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mic92/vmsh
/ functions
Functions
725 in github.com/Mic92/vmsh
⨍
Functions
725
◇
Types & classes
167
↓ 1 callers
Function
table_align
(pages: usize)
src/page_table.rs:206
↓ 1 callers
Function
tempdir
()
src/ioutils/src/tmp.rs:37
↓ 1 callers
Method
terminate
(&self)
src/devices/threads.rs:72
↓ 1 callers
Method
terminate
(self)
tests/vmsh.py:55
↓ 1 callers
Method
toggle_in_syscall
(&mut self)
src/tracer/wrap_syscall.rs:152
↓ 1 callers
Method
userfaultfd
(&self, flags: c_int)
src/tracer/inject_syscall.rs:329
↓ 1 callers
Function
vcpu_maps
(pid: Pid)
examples/test_ioctls.rs:292
↓ 1 callers
Method
virt_end
(&self)
src/kvm/allocator.rs:109
↓ 1 callers
Function
visit_dirs
(dir: &Path, cb: &dyn Fn(&DirEntry))
src/build-utils/src/lib.rs:46
↓ 1 callers
Method
vm_add_mem
`readonly`: If true, a guest writing to it leads to KVM_EXIT_MMIO. Safety: This function is safe even for the guest because VmMem enforces, that only
src/kvm/hypervisor/hypervisor.rs:251
↓ 1 callers
Function
vmsh_blk
(helpers: confmeasure.Helpers, stats: Dict[str, List[Any]])
tests/xfstests.py:198
↓ 1 callers
Function
vmsh_console
(helpers: confmeasure.Helpers, stats: Any)
tests/measure_console.py:96
↓ 1 callers
Method
wait_for_ioctl
TODO Err if third qemu thread terminates?
src/tracer/wrap_syscall.rs:312
↓ 1 callers
Method
waitpid
(&mut self)
src/tracer/wrap_syscall.rs:321
↓ 1 callers
Function
write_fpu_registers
(core_file: &mut File, regs: &FpuRegs)
src/coredump.rs:174
↓ 1 callers
Function
write_note_sections
(core_file: &mut File, vcpus: &[VcpuState])
src/coredump.rs:210
↓ 1 callers
Function
writeall
(fd: int, content: str)
tests/measure_console.py:74
Method
CMSG_DATA
(cmsg: *const libc::cmsghdr)
src/kvm/tracee.rs:218
Method
CMSG_LEN
(length: libc::c_uint)
src/kvm/tracee.rs:208
Method
CMSG_SPACE
(length: libc::c_uint)
src/kvm/tracee.rs:176
Method
__CMSG_FIRSTHDR
( msg_control: *mut libc::c_void, msg_controllen: socklen_t, )
src/kvm/tracee.rs:186
Method
__exit__
(self, exc_type: Any, exc_value: Any, traceback: Any)
tests/vmsh.py:58
Method
__getitem__
(self, index: int)
tests/coredump.py:118
Method
__getitem__
(self, idx: int)
tests/coredump_analyze.py:180
Method
__init__
(self, data: bytes, phys_offset: int, virt_offset: int)
tests/coredump.py:113
Method
__init__
(self, fd: IO[bytes])
tests/coredump.py:182
Method
__init__
(self, core: ElfCore)
tests/coredump_analyze.py:84
Method
__init__
( self, segments: Segments, entries: "ct.Array[ct.c_uint64]", virt_addr_prefix
tests/coredump_analyze.py:168
Method
__init__
(self, sock: socket.socket)
tests/qemu.py:32
Method
__init__
(self, qmp_session: QmpSession, tmux_session: str, pid: int)
tests/qemu.py:145
Method
__iter__
(self)
tests/coredump.py:73
Method
__iter__
(self)
tests/coredump_analyze.py:191
Method
__len__
(self)
tests/coredump.py:101
Method
__repr__
(self)
tests/coredump.py:69
Method
__repr__
(self)
tests/coredump_analyze.py:143
Method
__reversed__
(self)
tests/coredump.py:76
Method
_check_siginfo
(thread: &Thread)
src/tracer/wrap_syscall.rs:437
Method
_new_from_pid
(pid: Pid, kind: Kind)
src/stage2/src/user_namespace.rs:55
Function
_pid_arg
(index: usize)
src/bin/vmsh.rs:16
Method
activate
make sure to set self.vmm.wrapper to Some() before activating. Typically this is done by activating during vmm.kvmrun_wrapped()
src/devices/virtio/console/device.rs:273
Method
activate
make sure to set self.vmm.wrapper to Some() before activating. Typically this is done by activating during vmm.kvmrun_wrapped()
src/devices/virtio/block/device.rs:286
Method
alloc_mem_padded
allocate memory for T. Allocate more than necessary to increase allocation size to `size`.
src/kvm/hypervisor/hypervisor.rs:296
Method
allocate
(&mut self, headers: LoadableHeaders)
src/loader.rs:313
Function
apply_hatch
(groups: int, g: Any, legend: bool)
tests/plot.py:79
Function
apply_to_graphs
(ax: Any, legend: bool, width: float)
tests/plot.py:149
Function
assert_struct_sizes
()
src/tracer/ptrace_syscall_info.rs:162
Function
attach
(opts: &AttachOptions)
src/attach.rs:40
Method
attach
Attach to pid. The target `proc` will be stopped until `Self.detach` or the end of the lifetime of self.
src/kvm/tracee.rs:71
Method
attach
(pid: Pid, vcpus: &[VCPU])
src/tracer/wrap_syscall.rs:212
Method
attach
Attach to qemu session via tmux. This is useful for debugging
tests/qemu.py:230
Method
attach_to
See attach()
src/kvm/tracee.rs:82
Function
block
(extra_env: Dict[str, str])
tests/reproduce.py:107
Method
borrow
(&self)
src/devices/virtio/console/device.rs:257
Method
borrow_mut
(&mut self)
src/devices/virtio/console/device.rs:263
Method
bus
(&self)
src/devices/mmio.rs:100
Method
bus_mut
(&mut self)
src/devices/mmio.rs:104
Method
busybox_image
()
tests/confmeasure.py:36
Method
capability_present
(hv: &Hypervisor)
src/kvm/hypervisor/ioregionfd.rs:102
Method
check
(&self, hv: &Hypervisor)
src/stage1.rs:51
Method
check_extension
(&self, cap: c_int)
src/kvm/tracee.rs:374
Method
check_extension
(&self, cap: c_int)
src/kvm/hypervisor/hypervisor.rs:418
Function
check_intel_turbo
()
tests/measure_helpers.py:253
Function
check_linux_version
()
src/tracer/ptrace_syscall_info.rs:172
Function
check_memory
()
tests/measure_helpers.py:267
Function
check_ssd
()
tests/measure_helpers.py:238
Function
cleanup_module
tests/debug-kernel-mod/main.c:64
Method
close
(&self, fd: RawFd)
src/tracer/inject_syscall.rs:277
Function
compute_ratio
(x: pd.DataFrame)
tests/graphs.py:305
Method
connect
( &self, socket: c_int, address: *const libc::sockaddr, len: libc::socklen_t,
src/tracer/inject_syscall.rs:300
Function
console
(attach: &AttachOptions)
src/console.rs:35
Function
console
(extra_env: Dict[str, str])
tests/reproduce.py:117
Method
cont
(&self)
src/tracer/wrap_syscall.rs:269
Method
cont
(&self, sig: Option<nix::sys::signal::Signal>)
src/tracer/ptrace.rs:115
Function
convert
(pid: pid_t, mappings: &[Mapping])
src/devices/mod.rs:39
Method
data
(&self)
src/tracer/wrap_syscall.rs:67
Method
default
()
src/devices/mmio.rs:21
Method
default
()
src/kvm/hypervisor/memory.rs:30
Method
deref
(&self)
src/kvm/hypervisor/ioeventfd.rs:126
Method
deref
(&self)
src/kvm/hypervisor/ioevent.rs:57
Method
device_type
(&self)
src/devices/virtio/console/device.rs:251
Method
device_type
(&self)
src/devices/virtio/block/device.rs:264
Function
docker_hub
(extra_env: Dict[str, str])
tests/reproduce.py:121
Method
drop
(&mut self)
src/page_table.rs:234
Method
drop
(&mut self)
src/stage1/src/lib.rs:59
Method
drop
(&mut self)
src/devices/threads.rs:112
Method
drop
(&mut self)
src/devices/virtio/block/inorder_handler.rs:77
Method
drop
(&mut self)
src/kvm/fd_transfer.rs:22
Method
drop
(&mut self)
src/kvm/hypervisor/ioeventfd.rs:94
Method
drop
(&mut self)
src/kvm/hypervisor/memory.rs:51
Method
drop
(&mut self)
src/kvm/hypervisor/ioregionfd.rs:112
Method
drop
(&mut self)
src/ioutils/src/tmp.rs:56
Method
drop
(&mut self)
src/stage2/src/mountns.rs:128
Method
drop
(&mut self)
src/stage2/src/block.rs:55
Method
drop
(&mut self)
src/tracer/inject_syscall.rs:373
Method
drop
(&mut self)
src/tracer/wrap_syscall.rs:193
Method
drop
(&mut self)
src/tracer/ptrace.rs:184
Function
dump_page_table
(pml4: PageTable)
tests/coredump_analyze.py:211
Method
end
Address where the memory end
tests/coredump.py:51
Function
ensure_devtmpfs
()
src/stage2/src/main.rs:101
Function
ensure_procfs
()
src/stage2/src/main.rs:61
← previous
next →
401–500 of 725, ranked by callers