MCPcopy Create free account

hub / github.com/Mic92/vmsh / functions

Functions725 in github.com/Mic92/vmsh

↓ 2 callersMethodsyscall_ret
(&self)
src/cpu.rs:41
↓ 2 callersFunctionsystem_to_iotype
(df: pd.DataFrame, value: str)
tests/graphs.py:187
↓ 2 callersMethodtry_get_proc_mut
(&mut self)
src/kvm/tracee.rs:110
↓ 2 callersMethodvirt_addr
translate physical address to physical address
tests/coredump.py:137
↓ 2 callersMethodvm_ioctl
(&self, request: c_ulong, arg: c_ulong)
src/kvm/tracee.rs:117
↓ 2 callersFunctionwait_for_tmux_output
(tmux_session: str, needle: str)
tests/test_hypervisor.py:104
↓ 2 callersMethodwrite_slice
Write a response back to the VM.
src/kvm/hypervisor/ioregionfd.rs:235
↓ 2 callersFunctionyes_please
()
tests/measure_phoronix.py:69
↓ 1 callersMethod__getitem__
(self, index: int)
tests/coredump.py:80
↓ 1 callersMethod__init__
(self, data: bytes, offset: int)
tests/coredump.py:39
↓ 1 callersMethod_activate
(&mut self)
src/devices/virtio/console/device.rs:150
↓ 1 callersMethod_activate
(&mut self)
src/devices/virtio/block/device.rs:155
↓ 1 callersMethod_cleanup
(&self)
src/stage2/src/mountns.rs:80
↓ 1 callersMethod_reset
(&mut self)
src/devices/virtio/console/device.rs:225
↓ 1 callersMethod_reset
(&mut self)
src/devices/virtio/block/device.rs:238
↓ 1 callersFunction_tempdir
(mut template: PathBuf)
src/ioutils/src/tmp.rs:21
↓ 1 callersMethodadopt
see Process#adopt
src/kvm/tracee.rs:58
↓ 1 callersMethodadopt
Associate previously disowned tracer by current thread. A non-owned tracer is not functional.
src/tracer/inject_syscall.rs:183
↓ 1 callersFunctionalloc_mem
(pid: Pid)
examples/test_ioctls.rs:45
↓ 1 callersFunctionallocate_page_table
( entry: &mut PageTableEntry, phys_addr: &mut PhysAddr, upsert_tables: &mut UpsertTable, )
src/page_table.rs:274
↓ 1 callersFunctionalpine_sec_scanner_image
()
tests/nix.py:48
↓ 1 callersFunctionany_as_bytes
(p: &T)
src/coredump.rs:59
↓ 1 callersFunctionany_as_u8_slice
(p: &T)
src/devices/virtio/console/mod.rs:59
↓ 1 callersFunctionapply_offset
algorithm for reconstructing function pointers; - assuming we have HAVE_ARCH_PREL32_RELOCATIONS (is the case on arm64 and x86_64) - Get Address of las
src/kernel.rs:201
↓ 1 callersMethodas_raw_fd
(&self)
src/kvm/hypervisor/ioeventfd.rs:132
↓ 1 callersFunctionassertline
(ptmfd: int, value: str)
tests/measure_console.py:70
↓ 1 callersFunctionattach
(args: &ArgMatches)
src/bin/vmsh.rs:103
↓ 1 callersMethodattach
(pid: Pid, vm_fd: RawFd)
src/kvm/hypervisor/hypervisor.rs:79
↓ 1 callersFunctionattach_all_threads
(pid: Pid)
src/tracer/ptrace.rs:156
↓ 1 callersFunctionbar_colors
(graph: Any, df: pd.Series, num_colors: int)
tests/graphs.py:358
↓ 1 callersMethodbind
( &self, socket: c_int, address: *const libc::sockaddr, address_len: libc::soc
src/tracer/inject_syscall.rs:283
↓ 1 callersFunctionblkdev_monitor_thread
Periodically print block device state
src/devices/threads.rs:168
↓ 1 callersFunctionblkdiscard
()
tests/measure_helpers.py:182
↓ 1 callersMethodborrow
(&self)
src/devices/virtio/block/device.rs:270
↓ 1 callersFunctionbpf_prog
(pid: Pid)
src/kvm/memslots.rs:152
↓ 1 callersFunctionbuild_artifacts
(target: str)
tests/vmsh.py:40
↓ 1 callersFunctionbuild_config_space
()
src/devices/virtio/console/mod.rs:89
↓ 1 callersFunctioncargo_build
(target: str = "debug")
tests/vmsh.py:18
↓ 1 callersFunctioncgroup_path
(cgroup: &str, mountpoints: &HashMap<String, String>)
src/stage2/src/cgroup.rs:71
↓ 1 callersFunctionchange_width
(ax: Any, new_value: Union[int, float])
tests/plot.py:127
↓ 1 callersFunctioncheck_coredump
(fd: IO[bytes], qemu_regs: Dict[str, int], vm: QemuVm)
tests/test_coredump.py:13
↓ 1 callersFunctioncheck_kernel_sym_legacy
( mem: &[u8], mem_base: usize, strings_range: &Range<usize>, ii: usize, )
src/kernel.rs:135
↓ 1 callersMethodcheck_owner
(&self)
src/tracer/inject_syscall.rs:166
↓ 1 callersMethodcheck_owner
(&self)
src/tracer/wrap_syscall.rs:286
↓ 1 callersFunctioncheck_type
()
src/stage2/src/lsm.rs:76
↓ 1 callersMethodcleanup
(&self)
src/stage2/src/mountns.rs:102
↓ 1 callersFunctioncleanup_vmsh_exe
()
src/stage2/src/main.rs:41
↓ 1 callersFunctioncli
()
src/bin/vmsh.rs:154
↓ 1 callersMethodclose_transfer_sockets
(&self)
src/kvm/hypervisor/hypervisor.rs:128
↓ 1 callersFunctioncommit_page_tables
(hv: &Hypervisor, tables: &[PageTable])
src/page_table.rs:358
↓ 1 callersFunctioncompile_executable
(source: &str, target: &Path)
src/tracer/inject_syscall.rs:392
↓ 1 callersFunctionconnect_qmp
(path: Path)
tests/qemu.py:95
↓ 1 callersFunctionconsole
(args: &ArgMatches)
src/bin/vmsh.rs:130
↓ 1 callersFunctionconsole
(df: pd.DataFrame)
tests/graphs.py:266
↓ 1 callersFunctioncoredump
(args: &ArgMatches)
src/bin/vmsh.rs:116
↓ 1 callersFunctioncount_ksymtab_strings
(mem: Memory)
tests/coredump_analyze.py:70
↓ 1 callersFunctioncpuid2
(pid: Pid)
examples/test_ioctls.rs:145
↓ 1 callersMethoddata_mut
(&mut self)
src/kvm/kvm_ioregionfd.rs:75
↓ 1 callersMethoddata_mut
(&mut self)
src/tracer/wrap_syscall.rs:71
↓ 1 callersMethoddetach
(&self)
src/tracer/ptrace.rs:83
↓ 1 callersMethoddisown
see Process#disown
src/kvm/tracee.rs:64
↓ 1 callersMethoddisown
(&mut self)
src/tracer/inject_syscall.rs:204
↓ 1 callersMethoddrop_thread
(&mut self, tid: Pid)
src/tracer/wrap_syscall.rs:357
↓ 1 callersFunctiondump_dmesg
()
src/stage2/src/block.rs:103
↓ 1 callersFunctiondump_mappings
( pid: Pid, core_file: &mut File, core_size: off_t, file_offset: off_t, maps: &[Mapping],
src/coredump.rs:63
↓ 1 callersMethoddump_physical_memory
(self, addr: int, num_bytes: int)
tests/qemu.py:220
↓ 1 callersFunctiondump_processes
tests/debug-kernel-mod/main.c:18
↓ 1 callersFunctionelf_header
(phnum: Elf_Half)
src/coredump.rs:105
↓ 1 callersMethodend
(&self)
src/kvm/memslots.rs:39
↓ 1 callersFunctionestimate_page_table_size
Upper bound of page tables memory we need to map physical memory of given size
src/page_table.rs:211
↓ 1 callersFunctionevaluation
(extra_env: Dict[str, str])
tests/reproduce.py:207
↓ 1 callersMethodexecute
(&mut self, mem: &GuestMemoryMmap, request: &Request)
src/devices/virtio/block/inorder_handler.rs:137
↓ 1 callersFunctionexplode
we can simplify explode_big for num_samples=2
tests/plot.py:28
↓ 1 callersFunctionfd_transfer
(pid: Pid)
examples/test_ioctls.rs:112
↓ 1 callersFunctionfind_hypervisor_by_tty
(tty: str, command: str)
tests/test_hypervisor.py:12
↓ 1 callersFunctionfind_ksymtab_strings_section
(mem: &[u8])
src/kernel.rs:31
↓ 1 callersFunctionfind_ksymtab_strings_section
Find where in the memory the ksymtab_strings section is loaded.
tests/coredump_analyze.py:36
↓ 1 callersFunctionfind_linux_kernel_memory
Return virtual and physical memory
tests/coredump_analyze.py:291
↓ 1 callersFunctionfind_mapping
(mappings: &[Mapping], ip: usize)
src/tracer/proc.rs:48
↓ 1 callersFunctionfind_subsequence
(haystack: &[u8], needle: &[u8])
src/kernel.rs:17
↓ 1 callersFunctionfind_vmsh_consoles
Linux assigns consoles linear so later added devices get a higher number. In theory just assuming vmsh is the last console added is racy however in pr
src/stage2/src/console.rs:17
↓ 1 callersFunctionfresh_fs_ssd
(image: Optional[Path] = None, filesize: int = 10)
tests/measure_helpers.py:197
↓ 1 callersFunctionfrom_tracer
(t: Tracer)
src/tracer/inject_syscall.rs:67
↓ 1 callersFunctiongenerate_coredump
(opts: &CoredumpOptions)
src/coredump.rs:376
↓ 1 callersFunctiongenerate_graphs
()
tests/reproduce.py:240
↓ 1 callersFunctionget_first_allocation
(hv: &Arc<Hypervisor>)
src/kvm/allocator.rs:47
↓ 1 callersMethodget_ioregionfd
(&mut self)
src/devices/virtio/block/device.rs:256
↓ 1 callersFunctionget_kernel_symbols
( mem: &[u8], mem_base: usize, ksymtab_strings: Range<usize>, )
src/kernel.rs:224
↓ 1 callersFunctionget_kernel_symbols
( mem: MappedMemory, ksymtab_strings: MappedMemory )
tests/coredump_analyze.py:391
↓ 1 callersFunctionget_kernel_version
()
src/stage1/src/lib.rs:299
↓ 1 callersFunctionget_ksymtab_start
Skips over kcrctab if present and retrieves actual ksymtab offset. This is done by casting each offset to a kernel_symbole and check if its n
tests/coredump_analyze.py:347
↓ 1 callersFunctionget_maps
(tracee: &Tracee)
src/kvm/memslots.rs:189
↓ 1 callersMethodget_maps
(&self)
src/kvm/hypervisor/hypervisor.rs:231
↓ 1 callersMethodget_msr
(&self, vcpu: &VCPU, msrs: &HvMem<kvm_msrs>)
src/kvm/tracee.rs:350
↓ 1 callersFunctionget_page_table_addr
(sregs: &kvmb::kvm_sregs)
src/guest_mem.rs:30
↓ 1 callersFunctionget_page_table_addr
(sregs: KVMSRegs)
tests/coredump_analyze.py:276
↓ 1 callersMethodget_range
(&self, phys_addr: usize)
src/guest_mem.rs:109
↓ 1 callersMethodget_sregs
( &self, vcpu: &VCPU, sregs: &HvMem<kvmb::kvm_sregs>, )
src/kvm/tracee.rs:251
↓ 1 callersFunctionget_ssh_port
(session: QmpSession)
tests/qemu.py:114
↓ 1 callersMethodget_syscall_params
To be used during wrap_syscall. return (syscall_nr, arg1, ..., arg6)
src/cpu.rs:143
← previousnext →201–300 of 725, ranked by callers