Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Bareflank/hypervisor
/ functions
Functions
2,423 in github.com/Bareflank/hypervisor
⨍
Functions
2,423
◇
Types & classes
516
Method
phys_to_virt
<!-- description --> @brief Converts a physical address to a virtual address. <!-- inputs/outputs --> @param phys the physical address to convert @re
kernel/src/huge_pool_t.hpp:93
Function
platform_alloc
* <!-- description --> * @brief This function allocates read/write virtual memory from the * kernel. This memory is not physically contiguous.
loader/windows/src/platform.c:94
Function
platform_alloc_contiguous
* <!-- description --> * @brief This function allocates read/write virtual memory from the * kernel. This memory is physically contiguous. The
loader/windows/src/platform.c:129
Function
platform_alloc_contiguous
* <!-- description --> * @brief This function allocates read/write virtual memory from the * kernel. This memory is physically contiguous. The
loader/linux/src/platform.c:123
Function
platform_arch_init
* <!-- description --> * @brief Initializes the archiecture. Some platforms might need per CPU * initialization logic to get the CPU set up. M
loader/windows/src/platform.c:580
Function
platform_arch_init
* <!-- description --> * @brief Initializes the archiecture. Some platforms might need per CPU * initialization logic to get the CPU set up. M
loader/linux/src/platform.c:460
Function
platform_copy_from_user
* <!-- description --> * @brief Copies "num" bytes from "src" to "dst". If "src" or "dst" are * NULLPTR, returns FAILURE, otherwise returns 0.
loader/windows/src/platform.c:263
Function
platform_copy_to_user
* <!-- description --> * @brief Copies "num" bytes from "src" to "dst". If "src" or "dst" are * NULLPTR, returns FAILURE, otherwise returns 0.
loader/windows/src/platform.c:332
Function
platform_copy_to_user
* <!-- description --> * @brief Copies "num" bytes from "src" to "dst". If "src" or "dst" are * NULL, returns LOADER_FAILURE, otherwise return
loader/efi/src/platform.c:278
Function
platform_dump_vmm
* <!-- description --> * @brief Dumps the contents of the VMM's ring buffer. */
loader/windows/src/platform.c:567
Function
platform_dump_vmm
* <!-- description --> * @brief Dumps the contents of the VMM's ring buffer. */
loader/linux/src/platform.c:447
Function
platform_ensures
* <!-- description --> * @brief If test is false, a contract violation has occurred. This * should be used to assert postconditions that if no
loader/windows/src/platform.c:73
Function
platform_ensures
* <!-- description --> * @brief If test is false, a contract violation has occurred. This * should be used to assert postconditions that if no
loader/linux/src/platform.c:68
Function
platform_ensures
* <!-- description --> * @brief If test is false, a contract violation has occurred. This * should be used to assert postconditions that if no
loader/efi/src/platform.c:71
Function
platform_free
* <!-- description --> * @brief This function frees memory previously allocated using the * platform_alloc() function. * * <!-- inputs/outpu
loader/windows/src/platform.c:164
Function
platform_free_contiguous
* <!-- description --> * @brief This function frees memory previously allocated using the * platform_alloc_contiguous() function. * * <!-- i
loader/windows/src/platform.c:186
Function
platform_free_contiguous
* <!-- description --> * @brief This function frees memory previously allocated using the * platform_alloc_contiguous() function. * * <!-- i
loader/linux/src/platform.c:176
Function
platform_mark_gdt_readonly
* <!-- description --> * @brief Marks the current GDT as read-only */
loader/windows/src/platform.c:598
Function
platform_mark_gdt_readonly
* <!-- description --> * @brief Marks the current GDT as read-only */
loader/linux/src/platform.c:480
Function
platform_mark_gdt_writable
* <!-- description --> * @brief Marks the current GDT as read/write */
loader/windows/src/platform.c:590
Function
platform_mark_gdt_writable
* <!-- description --> * @brief Marks the current GDT as read/write */
loader/linux/src/platform.c:470
Function
platform_memcpy
* <!-- description --> * @brief Copies "num" bytes from "src" to "dst". If "src" or "dst" are * NULLPTR, returns LOADER_FAILURE, otherwise ret
loader/windows/src/platform.c:241
Function
platform_memcpy
* <!-- description --> * @brief Copies "num" bytes from "src" to "dst". If "src" or "dst" are * NULLPTR, returns LOADER_FAILURE, otherwise ret
loader/linux/src/platform.c:240
Function
platform_memset
* <!-- description --> * @brief Sets "num" bytes in the memory pointed to by "ptr" to "val". * If the provided parameters are valid, returns 0
loader/windows/src/platform.c:224
Function
platform_memset
* <!-- description --> * @brief Sets "num" bytes in the memory pointed to by "ptr" to "val". * If the provided parameters are valid, returns 0
loader/linux/src/platform.c:222
Function
platform_on_each_cpu
* <!-- description --> * @brief Calls the user provided callback on each CPU. If each callback * returns 0, this function returns 0, otherwise
loader/windows/src/platform.c:548
Function
platform_on_each_cpu
* <!-- description --> * @brief Calls the user provided callback on each CPU. If each callback * returns 0, this function returns 0, otherwise
loader/linux/src/platform.c:427
Function
platform_virt_to_phys
* <!-- description --> * @brief Given a virtual address, this function returns the virtual * address's physical address. Returns NULLPTR if th
loader/windows/src/platform.c:206
Function
platform_virt_to_phys
* <!-- description --> * @brief Given a virtual address, this function returns the virtual * address's physical address. Returns NULLPTR if th
loader/linux/src/platform.c:196
Method
print_logo
<!-- description --> @brief Prints our fancy logo
kernel/src/mk_main_t.hpp:119
Function
print_thread_id
kernel/src/bsl/details/print_thread_id.hpp:45
Method
process
<!-- description --> @brief Process the user provided command line arguments. If the user provided command succeeds, this function will return bsl::er
vmmctl/mocks/vmmctl_main.hpp:58
Method
process
<!-- description --> @brief Process the mk_args_t provided by the loader. If the user provided command succeeds, this function will return bsl::errc_s
kernel/mocks/mk_main_t.hpp:79
Function
putchar
(c: u8)
example/default_rust/src/lib.rs:201
Method
rdmsr
<!-- description --> @brief Returns the value of requested MSR <!-- inputs/outputs --> @param msr the MSR to read from @return Returns the value of r
kernel/mocks/x64/amd/intrinsic_t.hpp:132
Method
rdmsr
<!-- description --> @brief Returns the value of requested MSR <!-- inputs/outputs --> @param msr the MSR to read from @return Returns the value of r
kernel/mocks/x64/intel/intrinsic_t.hpp:264
Method
read
lib/src/windows/basic_ioctl_t.hpp:312
Method
read
lib/src/linux/basic_ioctl_t.hpp:239
Method
read
<!-- description --> @brief Reads a field from the requested vs_t given a bf_reg_t defining the field to read. <!-- inputs/outputs --> @param tls the
kernel/mocks/vs_pool_t.hpp:457
Method
read
<!-- description --> @brief Reads a field from the requested vs_t given a bf_reg_t defining the field to read. <!-- inputs/outputs --> @param mut_tls
kernel/src/vs_pool_t.hpp:456
Method
read
<!-- description --> @brief Reads a field from the vs_t given a bf_reg_t defining the field to read. <!-- inputs/outputs --> @param mut_tls the curre
kernel/src/x64/intel/vs_t.hpp:1326
Method
read_write
lib/src/windows/basic_ioctl_t.hpp:432
Method
read_write
lib/src/linux/basic_ioctl_t.hpp:333
Method
release
<!-- description --> @brief Release the vs_t. <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_syscall
example/default/mocks/vs_t.hpp:97
Method
release
<!-- description --> @brief Release the vp_t. <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_syscall
example/default/mocks/vp_t.hpp:95
Method
release
<!-- description --> @brief Release the vs_pool_t. <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_sy
example/default/src/vs_pool_t.hpp:114
Method
release
<!-- description --> @brief Release the vp_pool_t. <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_sy
example/default/src/vp_pool_t.hpp:114
Method
release
<!-- description --> @brief Release the vs_t. <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_syscall
example/default/src/x64/amd/vs_t.hpp:99
Method
release
<!-- description --> @brief Release the vs_t. <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_syscall
example/default/src/x64/intel/vs_t.hpp:99
Method
release
<!-- description --> @brief Release the vp_pool_t. <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_sy
example/default_rust/src/vp_pool_t.rs:95
Method
release
<!-- description --> @brief Release the dVpT. <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_syscall
example/default_rust/src/vp_t.rs:88
Method
release
<!-- description --> @brief Release the vp_pool_t. <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_sy
example/default_rust/src/vs_pool_t.rs:95
Method
release
<!-- description --> @brief Release the VsT. <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_syscall_
example/default_rust/src/x64/amd/vs_t.rs:91
Method
release
<!-- description --> @brief Release the VsT. <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_syscall_
example/default_rust/src/x64/intel/vs_t.rs:91
Method
release
<!-- description --> @brief Releases all of the resources used by the RPT. <!-- inputs/outputs --> @param tls the current TLS block @param mut_page_p
lib/mocks/basic_root_page_table_t.hpp:293
Method
release
<!-- description --> @brief Releases all of the resources used by the RPT. <!-- inputs/outputs --> @param tls the current TLS block @param mut_page_p
lib/src/basic_root_page_table_t.hpp:1805
Method
release
<!-- description --> @brief Releases the bf_syscall_t by closing the handle.
syscall/mocks/bf_syscall_t.hpp:298
Method
release
<!-- description --> @brief Release the vs_pool_t. <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_sy
kernel/integration/support/src/vs_pool_t.hpp:114
Method
release
<!-- description --> @brief Release the vp_pool_t. <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_sy
kernel/integration/support/src/vp_pool_t.hpp:114
Method
release
<!-- description --> @brief Release the vp_t. <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_syscall
kernel/integration/support/src/vp_t.hpp:95
Method
release
<!-- description --> @brief Release the vs_t. <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_syscall
kernel/integration/support/src/x64/amd/vs_t.hpp:99
Method
release
<!-- description --> @brief Release the vs_t. <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_syscall
kernel/integration/support/src/x64/intel/vs_t.hpp:114
Method
release
<!-- description --> @brief Release the ext_pool_t <!-- inputs/outputs --> @param tls the current TLS block @param page_pool the page_pool_t to use @
kernel/mocks/ext_pool_t.hpp:94
Method
release
<!-- description --> @brief Release the vm_t. <!-- inputs/outputs --> @param tls the current TLS block @param page_pool the page_pool_t to use @param
kernel/mocks/vm_t.hpp:87
Method
release
<!-- description --> @brief Release the ext_t <!-- inputs/outputs --> @param tls the current TLS block @param page_pool the page_pool_t to use @param
kernel/mocks/ext_t.hpp:158
Method
release
<!-- description --> @brief Release the vs_t. <!-- inputs/outputs --> @param tls the current TLS block @param page_pool the page_pool_t to use
kernel/mocks/vs_t.hpp:99
Method
release
<!-- description --> @brief Release the vm_pool_t <!-- inputs/outputs --> @param mut_tls the current TLS block @param page_pool the page_pool_t to us
kernel/mocks/vm_pool_t.hpp:104
Method
release
<!-- description --> @brief Release the vs_pool_t <!-- inputs/outputs --> @param tls the current TLS block @param page_pool the page_pool_t to use
kernel/mocks/vs_pool_t.hpp:107
Method
release
<!-- description --> @brief Release the vp_pool_t
kernel/mocks/vp_pool_t.hpp:97
Method
release
<!-- description --> @brief Release the vp_t.
kernel/mocks/vp_t.hpp:74
Method
release
<!-- description --> @brief Release the vm_pool_t <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_page_pool the page_pool_t t
kernel/src/vm_pool_t.hpp:107
Method
release
<!-- description --> @brief Release the vs_pool_t <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_page_pool the page_pool_t t
kernel/src/vs_pool_t.hpp:110
Method
release
<!-- description --> @brief Release the vp_pool_t
kernel/src/vp_pool_t.hpp:100
Method
release
<!-- description --> @brief Release the vp_t.
kernel/src/vp_t.hpp:75
Method
release
<!-- description --> @brief Release the vs_t. <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_page_pool the page_pool_t to us
kernel/src/x64/amd/vs_t.hpp:239
Method
release
<!-- description --> @brief Release the vs_t. <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_page_pool the page_pool_t to us
kernel/src/x64/intel/vs_t.hpp:624
Method
release_entry
lib/src/basic_root_page_table_t.hpp:710
Method
release_entry_to_block
lib/src/basic_root_page_table_t.hpp:545
Method
release_entry_to_table
lib/src/basic_root_page_table_t.hpp:638
Method
remaining
<!-- description --> @brief Returns this->size() - this->allocated(). <!-- inputs/outputs --> @return Returns this->size() - this->allocated().
lib/mocks/basic_page_pool_t.hpp:104
Method
remaining
<!-- description --> @brief Returns this->size() - this->allocated(). <!-- inputs/outputs --> @return Returns this->size() - this->allocated().
kernel/mocks/huge_pool_t.hpp:89
Method
returncode
(self)
utils/iwyu_tool.py:246
Method
run
<!-- description --> @brief Runs the vs_t. Note that this function does not return until a VMExit occurs. Once complete, this function will return the
kernel/mocks/vs_pool_t.hpp:503
Method
run
<!-- description --> @brief Runs the vs_t. Note that this function does not return until a VMExit occurs. Once complete, this function will return the
kernel/src/vs_pool_t.hpp:502
Method
run
<!-- description --> @brief Runs the vs_t. Note that this function does not return until a VMExit occurs. Once complete, this function will return the
kernel/src/x64/intel/vs_t.hpp:3551
Method
sanitize_efer
<!-- description --> @brief Returns a sanitized version of EFER <!-- inputs/outputs --> @param val the value to sanitize @return Returns a sanitized
kernel/src/x64/amd/vs_t.hpp:193
Method
sanitize_entry_ctls
<!-- description --> @brief Returns a sanitized version of the entry_ctls <!-- inputs/outputs --> @param val the value to sanitize @return Returns a
kernel/src/x64/intel/vs_t.hpp:364
Method
sanitize_exit_ctls
<!-- description --> @brief Returns a sanitized version of the exit_ctls <!-- inputs/outputs --> @param val the value to sanitize @return Returns a s
kernel/src/x64/intel/vs_t.hpp:346
Method
sanitize_pin_ctls
<!-- description --> @brief Returns a sanitized version of the pin_ctls <!-- inputs/outputs --> @param val the value to sanitize @return Returns a sa
kernel/src/x64/intel/vs_t.hpp:310
Method
sanitize_proc2_ctls
<!-- description --> @brief Returns a sanitized version of the proc2_ctls <!-- inputs/outputs --> @param val the value to sanitize @return Returns a
kernel/src/x64/intel/vs_t.hpp:382
Method
sanitize_proc_ctls
<!-- description --> @brief Returns a sanitized version of the proc_ctls <!-- inputs/outputs --> @param val the value to sanitize @return Returns a s
kernel/src/x64/intel/vs_t.hpp:328
Method
sanitize_xcr0
<!-- description --> @brief Returns a sanitized version of XCR0 <!-- inputs/outputs --> @param val the value to sanitize @return Returns a sanitized
kernel/src/x64/amd/vs_t.hpp:207
Method
sanitize_xcr0
<!-- description --> @brief Returns a sanitized version of XCR0 <!-- inputs/outputs --> @param val the value to sanitize @return Returns a sanitized
kernel/src/x64/intel/vs_t.hpp:445
Method
send
<!-- description --> @brief Sends a request to the driver without read or writing data. <!-- inputs/outputs --> @param req the request @return Return
lib/src/windows/basic_ioctl_t.hpp:278
Method
send
<!-- description --> @brief Sends a request to the driver without read or writing data. <!-- inputs/outputs --> @param req the request @return Return
lib/src/linux/basic_ioctl_t.hpp:209
Function
send_command_report_off
* <!-- description --> * @brief Tells the hypervisor to report off */
loader/src/arm/aarch64/send_command_report_off.c:34
Function
send_command_report_off
* <!-- description --> * @brief Tells the hypervisor to report off */
loader/tests/src/send_command_report_off.c:33
Function
send_command_report_on
* <!-- description --> * @brief Tells the hypervisor to report on */
loader/src/arm/aarch64/send_command_report_on.c:34
Function
send_command_report_on
* <!-- description --> * @brief Tells the hypervisor to report on */
loader/tests/src/send_command_report_on.c:33
Function
send_command_stop
* <!-- description --> * @brief Tells the hypervisor to stop * * <!-- inputs/outputs --> * @return LOADER_SUCCESS on success, LOADER_FAILURE o
loader/src/arm/aarch64/send_command_stop.c:38
← previous
next →
2,101–2,200 of 2,423, ranked by callers