MCPcopy Create free account

hub / github.com/Cisco-Talos/Barbervisor / functions

Functions877 in github.com/Cisco-Talos/Barbervisor

↓ 134 callersFunctionvmwrite
Wrapper for VMWRITE
kernel/src/vmx.rs:176
↓ 125 callersMethodlen
Return the length of the buffer of this file backing
kernel/src/file.rs:96
↓ 75 callersMethodinsert
Insert a sample into the corpus
kernel/src/corpus.rs:38
↓ 59 callersFunctionrdtsc
Get the current `rdtsc`
kernel/src/time.rs:52
↓ 53 callersMethodbits
Generate a u32 from the Device Controls struct
kernel/src/net/i219.rs:611
↓ 49 callersMethodpush
Add a VmRegs to the trace
kernel/src/trace.rs:70
↓ 43 callersMethodlen
(&self)
shared/packets/src/udp.rs:94
↓ 43 callersMethodload
(&'static self)
kernel/src/idt.rs:435
↓ 42 callersMethodas_mut
Gives mutable access to the contents of the interrupt stack frame. This function is unsafe since modifying the content of the interrupt stack frame c
kernel/src/idt.rs:721
↓ 35 callersMethodas_ptr
(&self)
kernel/src/ept.rs:43
↓ 35 callersFunctiontest_eq
(prefix_len: u8, mask: A)
shared/packets/src/ip.rs:1161
↓ 33 callersMethodnext
(&mut self)
kernel/src/rng.rs:27
↓ 33 callersFunctionrandom
Generate a random number [0; end)
kernel/src/ni.rs:33
↓ 28 callersMethodwrite
Write Pin based processor flags. Preserves the value of reserved fields. unsafe because it's possible to violate memory safety by e.g. disabling pagi
kernel/src/vmxflags.rs:59
↓ 26 callersMethodclear
Clear the currently opened files
kernel/src/file.rs:243
↓ 23 callersMethodwrite_u32
(&self, reg: u32, value: u32)
kernel/src/net/mod.rs:220
↓ 22 callersMethodas_bytes
Return an address as a sequence of octets, in big-endian.
shared/packets/src/ip.rs:116
↓ 22 callersMethodclone
(&self)
kernel/src/acpi.rs:28
↓ 22 callersMethodread
Read `count` bytes from the current file
kernel/src/file.rs:72
↓ 20 callersFunctionalloc_page
Allocate a new zeroed out page and return it
kernel/src/mm.rs:22
↓ 18 callersMethodas_ref
(&self)
shared/packets/src/ipv4.rs:541
↓ 17 callersMethodget_rip
Sets the RIP of the guest as writes the new value with vmwrite We don't ever want to directly change the rip value in VMREGs because that value isn't
kernel/src/fuzzvm.rs:2151
↓ 16 callersMethodas_ref
(&self)
shared/packets/src/udp.rs:197
↓ 16 callersMethodmem_base
Either MMIO or IO base address
kernel/src/net/mod.rs:101
↓ 16 callersFunctionput_file
(filename: &str, contents: &[u8])
kernel/src/net/mod.rs:72
↓ 16 callersMethodset_len
(&mut self, value: u16)
shared/packets/src/udp.rs:154
↓ 16 callersFunctionvga_print
(msg: &str)
bootloader/src/main.rs:114
↓ 15 callersFunctionfuture
Return the timestamp after `microseconds` have elapsed in the future. Used for timeouts.
kernel/src/time.rs:26
↓ 15 callersFunctionrdrand
Wrapper around `rdrand` instruction to generate a random number
kernel/src/ni.rs:18
↓ 15 callersMethodread
()
kernel/src/vmxflags.rs:41
↓ 15 callersMethodread_phys
Read a 64-bit value at the physical address specified
kernel/src/mm.rs:63
↓ 15 callersFunctionwrite
Write a string to the serial device as UTF-8 bytes
shared/serial/src/lib.rs:163
↓ 14 callersMethodcast_copy
Copy the underlying bits from `Self` into a new structure of type `T` This creates a new `T` on the stack as uninitialized, calls `cast_copy_into()`
shared/safecast/src/lib.rs:353
↓ 14 callersFunctionvmread
Wrapper for VMREAD
kernel/src/vmx.rs:188
↓ 13 callersFunctionout8
Output the byte `val` to `port`
shared/cpu/src/lib.rs:34
↓ 13 callersMethodwrite_phys
Write a 64-bit value to the physical address specified
kernel/src/mm.rs:68
↓ 12 callersFunctionprint
Display the statistics to the screen
kernel/src/stats.rs:415
↓ 11 callersMethodemit
Emit this high-level representation into a buffer. # Panics This function panics if invoked on an unspecified representation.
shared/packets/src/ip.rs:711
↓ 11 callersMethodprint
(&self)
kernel/src/vmregs.rs:84
↓ 10 callersFunctiondata
Compute an RFC 1071 compliant checksum (without the final complement).
shared/packets/src/ip.rs:749
↓ 10 callersMethodread
()
shared/vmx/src/vmxflags.rs:38
↓ 10 callersMethodread_mem
Read into a buffer at the given address. Assumes wanting to read into the entire buffer.
check_address/src/memreader.rs:39
↓ 10 callersMethodread_mem
Read into a buffer at the given address. Assumes wanting to read into the entire buffer.
parse_trace/src/memreader.rs:39
↓ 9 callersFunctionapic_write
(offset: isize, val: u32)
shared/cpu/src/lib.rs:455
↓ 9 callersFunctionget_file
(filename: &str)
kernel/src/net/mod.rs:43
↓ 9 callersMethodheader_len
(&self)
shared/packets/src/ipv4.rs:298
↓ 9 callersFunctionis_bsp
Returns true if the current CPU is the BSP, otherwise returns false.
shared/cpu/src/lib.rs:295
↓ 9 callersMethodopcode
(&self)
shared/packets/src/tftp.rs:135
↓ 9 callersMethodremove
Remove `range` from the RangeSet Any range in the RangeSet which overlaps with `range` will be trimmed such that there is no more overlap. If this re
shared/rangeset/src/lib.rs:113
↓ 9 callersMethodsource_file
(&self)
shared/packets/src/tftp.rs:85
↓ 8 callersMethodbar_type
(&self)
kernel/src/net/i219.rs:17
↓ 8 callersMethodbuffer_len
(&self, curr_handle: usize)
kernel/src/file.rs:317
↓ 8 callersFunctionget_segment_access_rights
(selector: u16)
shared/vmx/src/lib.rs:463
↓ 8 callersFunctionget_segment_access_rights
(selector: u16)
kernel/src/vmx.rs:462
↓ 8 callersFunctionget_segment_base
(gdtbase: u32, ldt: u16, selector: u16)
shared/vmx/src/lib.rs:514
↓ 8 callersFunctionget_segment_base
(gdtbase: u32, ldt: u16, selector: u16)
kernel/src/vmx.rs:512
↓ 8 callersMethodio_base
Either MMIO or IO base address
kernel/src/net/mod.rs:106
↓ 8 callersFunctionload_segment_limit
(selector: u16)
shared/vmx/src/lib.rs:438
↓ 8 callersFunctionload_segment_limit
(selector: u16)
kernel/src/vmx.rs:437
↓ 8 callersMethodread_bytes
Read a slice of bytes to a given virtual address in the guest VM
kernel/src/fuzzvm.rs:1603
↓ 8 callersMethodread_mem
Read into a buffer at the given address. Assumes wanting to read into the entire buffer.
coverage/src/memreader.rs:40
↓ 7 callersMethodas_ref
(&self)
shared/packets/src/tftp.rs:312
↓ 7 callersMethodread_u32
(&self, reg: u32)
kernel/src/net/mod.rs:161
↓ 7 callersMethodset_preemption_timer_per_second
Given the wanted number of times for the preemption timer to fire per second, calculate and set the correct Preemption Timer Value based on the clock
kernel/src/fuzzvm.rs:2283
↓ 7 callersMethodwrite
Write Pin based processor flags. Preserves the value of reserved fields. Unsafe because it's possible to violate memory safety by e.g. disabling pagi
shared/vmx/src/vmxflags.rs:51
↓ 7 callersFunctionwrmsr
(msr: u32, val: u64)
shared/cpu/src/lib.rs:83
↓ 6 callersMethodflags
Returns the flags of this entry.
kernel/src/ept.rs:99
↓ 6 callersFunctionin8
Input a byte from `port`
shared/cpu/src/lib.rs:39
↓ 6 callersMethodtranslate
Translate a guest physical to kernel physical address
kernel/src/fuzzvm.rs:1482
↓ 6 callersFunctionuse_x2apic
()
shared/cpu/src/lib.rs:468
↓ 5 callersMethodaddr
Returns the physical address mapped by this entry, might be zero.
kernel/src/ept.rs:104
↓ 5 callersMethodalloc_page
Allocate a page
kernel/src/mm.rs:44
↓ 5 callersMethodas_ref
(&self)
shared/packets/src/ethernet.rs:204
↓ 5 callersMethodbuild
(self)
kernel/src/net/i219.rs:868
↓ 5 callersFunctioncpuid
(eax: u32, ecx: u32)
shared/cpu/src/lib.rs:284
↓ 5 callersMethoddisable_single_step
Disable single step by removing the Monitor Trap Flag
kernel/src/fuzzvm.rs:2435
↓ 5 callersMethodenable_single_step
Enable single step by setting the Monitor Trap Flag
kernel/src/fuzzvm.rs:2428
↓ 5 callersMethodinject_fault
Inject the given exception back into the guest
kernel/src/fuzzvm.rs:2042
↓ 5 callersMethodis_unused
Returns whether this entry is zero.
kernel/src/ept.rs:89
↓ 5 callersMethodmap_page_raw
Create a mapping at `vaddr` in this page table containing the raw entry `entry`. This can be used to map large pages by using `mapsize`
kernel/src/ept.rs:210
↓ 5 callersFunctionparse
Load a PE file into a PEParsed structure This loader is extremely strict. It checks that all flags that matter are verified to match what we have tes
bootloader/src/pe.rs:300
↓ 5 callersMethodpayload
(&self)
shared/packets/src/udp.rs:130
↓ 5 callersMethodput_trace
Send the current trace over TFTP with the given filename
kernel/src/fuzzvm.rs:2406
↓ 5 callersMethodpxecall
Performs a PXE call This is marked unsafe as a caller can potentially corrupt memory depending on the PXE interface and parameters. Eg. issue a PXE r
bootloader/src/pxe.rs:312
↓ 5 callersFunctionrdtsc_elapsed
Get the number of microseconds since the `start_time`
kernel/src/time.rs:36
↓ 5 callersMethodread_bytes_phys
Read a slice of bytes to a given physical address in the guest VM
kernel/src/fuzzvm.rs:1582
↓ 5 callersMethodread_u32
Read the u32 for a given offset
kernel/src/pci.rs:104
↓ 5 callersMethodseek
Seek to a new location in the file From the `fseek` docs: 0 (SEEK_SET) Beginning of file 1 (SEEK_CUR) Current position of the file pointer 2 (SEEK_EN
kernel/src/file.rs:111
↓ 5 callersMethodset_opcode
(&mut self, opcode: TftpOpcode)
shared/packets/src/tftp.rs:212
↓ 5 callersMethodtotal_len
(&self)
shared/packets/src/ipv4.rs:317
↓ 5 callersMethodupdate_rip
Increment RIP by VMEXIT instruction length and rewrite RIP value back to the VM
kernel/src/fuzzvm.rs:1990
↓ 5 callersFunctionwrite_byte
Write a byte to the serial port data port
shared/serial/src/lib.rs:143
↓ 5 callersFunctionwrite_bytes
Write bytes to the serial device
shared/serial/src/lib.rs:156
↓ 4 callersMethodas_bytes
Return an IPv4 address as a sequence of octets, in big-endian.
shared/packets/src/ipv4.rs:57
↓ 4 callersMethodbase_dll
Read the base DLL name from the data entry. Returns None if a name is not found.
check_address/src/windows.rs:166
↓ 4 callersMethodblock
(&self)
shared/packets/src/tftp.rs:143
↓ 4 callersFunctioncombine
Combine several RFC 1071 compliant checksums.
shared/packets/src/ip.rs:781
↓ 4 callersFunctionget_apic_id
Get current cores APIC ID
shared/cpu/src/lib.rs:476
↓ 4 callersMethodget_backing
Get a pointer to the root page table for this page table. This value is what would be put in cr3.
kernel/src/ept.rs:204
↓ 4 callersFunctioninit
(port: &mut ComStruct)
shared/serial/src/lib.rs:65
next →1–100 of 877, ranked by callers