MCPcopy Create free account

hub / github.com/Bareflank/hypervisor / functions

Functions2,423 in github.com/Bareflank/hypervisor

↓ 1 callersFunctionplatform_copy_to_user
* <!-- description --> * @brief Copies "num" bytes from "src" to "dst". If "src" or "dst" are * NULLPTR, returns FAILURE, otherwise returns 0.
loader/linux/src/platform.c:290
↓ 1 callersFunctionplatform_current_cpu
* <!-- description --> * @brief Returns the current CPU (i.e. PP) * * <!-- inputs/outputs --> * @return Returns the current CPU (i.e. PP) */
loader/tests/src/platform.c:385
↓ 1 callersFunctionplatform_dump_vmm
* <!-- description --> * @brief Dumps the contents of the VMM's ring buffer. */
loader/tests/src/platform.c:416
↓ 1 callersFunctionplatform_ensures
* <!-- description --> * @brief If test is false, a contract violation has occurred. This * should be used to assert postconditions that if no
loader/tests/src/platform.c:104
↓ 1 callersFunctionplatform_free_contiguous
* <!-- description --> * @brief This function frees memory previously allocated using the * platform_alloc_contiguous() function. * * <!-- i
loader/efi/src/platform.c:178
↓ 1 callersFunctionplatform_mark_gdt_readonly
* <!-- description --> * @brief Marks the current GDT as read-only */
loader/tests/src/platform.c:452
↓ 1 callersFunctionplatform_mark_gdt_writable
* <!-- description --> * @brief Marks the current GDT as read/write */
loader/tests/src/platform.c:444
↓ 1 callersFunctionplatform_num_online_cpus
* <!-- description --> * @brief Returns the total number of online CPUs (i.e. PPs) * * <!-- inputs/outputs --> * @return Returns the total num
loader/tests/src/platform.c:372
↓ 1 callersFunctionplatform_on_each_cpu
* <!-- description --> * @brief Calls the user provided callback on each CPU. If each callback * returns 0, this function returns 0, otherwise
loader/tests/src/platform.c:405
↓ 1 callersFunctionplatform_on_each_cpu_forward
* <!-- description --> * @brief Calls the user provided callback on each CPU in forward order. * If each callback returns 0, this function ret
loader/windows/src/platform.c:483
↓ 1 callersFunctionplatform_on_each_cpu_forward
* <!-- description --> * @brief Calls the user provided callback on each CPU in forward order. * If each callback returns 0, this function ret
loader/linux/src/platform.c:350
↓ 1 callersFunctionplatform_on_each_cpu_forward
* <!-- description --> * @brief Calls the user provided callback on each CPU in forward order. * If each callback returns 0, this function ret
loader/efi/src/platform.c:332
↓ 1 callersFunctionplatform_on_each_cpu_reverse
* <!-- description --> * @brief Calls the user provided callback on each CPU in reverse order. * If each callback returns 0, this function ret
loader/windows/src/platform.c:515
↓ 1 callersFunctionplatform_on_each_cpu_reverse
* <!-- description --> * @brief Calls the user provided callback on each CPU in reverse order. * If each callback returns 0, this function ret
loader/linux/src/platform.c:388
↓ 1 callersMethodpoll
Return the exit code if the process has completed, None otherwise.
utils/iwyu_tool.py:240
↓ 1 callersMethodprivate_swap
<!-- description --> @brief Swaps *this with other <!-- inputs/outputs --> @param mut_lhs the left hand side of the exchange @param mut_rhs the right
lib/src/windows/basic_ifmap_t.hpp:81
↓ 1 callersMethodprivate_swap
<!-- description --> @brief Swaps *this with other <!-- inputs/outputs --> @param mut_lhs the left hand side of the exchange @param mut_rhs the right
lib/src/linux/basic_ifmap_t.hpp:77
↓ 1 callersMethodprocess_cmd
<!-- description --> @brief Process the user provided command line arguments assuming the first argument is the command while also ignoring "help". If
vmmctl/src/vmmctl_main.hpp:236
↓ 1 callersFunctionpromote
loader/tests/include/helpers.hpp:643
↓ 1 callersMethodrdmsr
<!-- description --> @brief Returns the value of requested MSR <!-- inputs/outputs --> @param msr the MSR to read from @return Returns the value of r
kernel/src/x64/amd/intrinsic_t.hpp:144
↓ 1 callersMethodread
<!-- description --> @brief Reads a field from the vs_t given a bf_reg_t defining the field to read. <!-- inputs/outputs --> @param tls the current T
kernel/src/x64/amd/vs_t.hpp:824
↓ 1 callersMethodrelease
<!-- description --> @brief Releases the bf_syscall_t by closing the handle.
syscall/src/bf_syscall_t.hpp:148
↓ 1 callersMethodrelease
<!-- description --> @brief Release the ext_pool_t <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_page_pool the page_pool_t
kernel/src/ext_pool_t.hpp:132
↓ 1 callersMethodrelease_count
<!-- description --> @brief Returns the total number of times release has been called (unit testing only) <!-- inputs/outputs --> @return Returns the
syscall/mocks/bf_syscall_t.hpp:312
↓ 1 callersMethodrelease_table
lib/src/basic_root_page_table_t.hpp:502
↓ 1 callersFunctionresume
loader/linux/src/entry.c:193
↓ 1 callersMethodrun
<!-- 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/amd/vs_t.hpp:2418
↓ 1 callersFunctionsection_offset
<!-- description --> @brief Returns the offset of the sections in a file_t <!-- inputs/outputs --> @param file the file_t to get the offset from @ret
loader/tests/include/helpers.hpp:299
↓ 1 callersFunctionsegment_offset
<!-- description --> @brief Returns the offset of the segments in a file_t <!-- inputs/outputs --> @param file the file_t to get the offset from @ret
loader/tests/include/helpers.hpp:283
↓ 1 callersFunctionsend_command_report_off
* <!-- description --> * @brief Tells the hypervisor to report off */
loader/src/x64/send_command_report_off.c:35
↓ 1 callersFunctionsend_command_report_on
* <!-- description --> * @brief Tells the hypervisor to report on */
loader/src/x64/send_command_report_on.c:35
↓ 1 callersFunctionsend_command_stop
* <!-- description --> * @brief Tells the hypervisor to stop * * <!-- inputs/outputs --> * @return LOADER_SUCCESS on success, LOADER_FAILURE o
loader/src/x64/send_command_stop.c:40
↓ 1 callersFunctionsend_exception_to_ext
<!-- description --> @brief Sends the exception to the extension so that it can handle it. Only exceptions that originate from the extension can be ha
kernel/src/x64/dispatch_esr.hpp:265
↓ 1 callersFunctionserial_write_hex
loader/tests/include/helpers.hpp:670
↓ 1 callersMethodset_cpuid
<!-- description --> @brief Sets the return value of cpuid. (unit testing only) <!-- inputs/outputs --> @param eax the value to return from cpuid for
example/default/mocks/x64/intrinsic_t.hpp:95
↓ 1 callersMethodset_tp
<!-- description --> @brief Sets the value of tp (TLS pointer) <!-- inputs/outputs --> @param val the value to set tp (TLS pointer) to
kernel/src/x64/amd/intrinsic_t.hpp:105
↓ 1 callersFunctionsetup_cr0
* <!-- description --> * @brief Ensures that CR0 is set up properly. */
loader/efi/src/x64/amd/setup_cr0.c:31
↓ 1 callersFunctionsetup_cr4
* <!-- description --> * @brief Ensures that CR4 is set up properly. */
loader/efi/src/x64/amd/setup_cr4.c:31
↓ 1 callersFunctionsetup_tss
* <!-- description --> * @brief Ensures that the TSS is set up properly. * * <!-- inputs/outputs --> * @return Returns 0 on success, LOADER_FA
loader/efi/src/x64/setup_tss.c:55
↓ 1 callersFunctionshdrtbl_offset
<!-- description --> @brief Returns the offset of the shdrtbl in a file_t <!-- inputs/outputs --> @param file the file_t to get the offset from @retu
loader/tests/include/helpers.hpp:267
↓ 1 callersMethodsize
<!-- description --> @brief Returns the number of bytes in the pool. <!-- inputs/outputs --> @return Returns the number of bytes in the pool.
lib/mocks/basic_page_pool_t.hpp:270
↓ 1 callersFunctionslice_compilation_db
Return a new compilation database reduced to the paths in selection.
utils/iwyu_tool.py:328
↓ 1 callersFunctionsplit_command
Split a command string into a list, respecting shell quoting.
utils/iwyu_tool.py:196
↓ 1 callersFunctionsplit_iter
(cmdline)
utils/iwyu_tool.py:151
↓ 1 callersMethodstart_vmm
<!-- description --> @brief Starts the VMM given a set of ioctl_t arguments to send to the loader. <!-- inputs/outputs --> @param mut_args the comman
vmmctl/src/vmmctl_main.hpp:86
↓ 1 callersMethodstate_save_to_vs
<!-- description --> @brief Stores the provided state in the vs_t <!-- inputs/outputs --> @param tls the current TLS block @param mut_intrinsic the i
kernel/src/x64/amd/vs_t.hpp:557
↓ 1 callersFunctionstdlib_fast_fail
<!-- description --> @brief Immediately the application with a failure
runtime/src/bsl/cstdlib.hpp:41
↓ 1 callersMethodstop_vmm
<!-- description --> @brief Stops the VMM given a set of ioctl_t arguments to send to the loader. <!-- inputs/outputs --> @param mut_ioctl the ioctl_
vmmctl/src/vmmctl_main.hpp:154
↓ 1 callersFunctionsuspend
loader/linux/src/entry.c:199
↓ 1 callersFunctionsyscall_bf_callback_op_register_bootstrap
<!-- description --> @brief Implements the bf_callback_op_register_bootstrap syscall <!-- inputs/outputs --> @param tls the current TLS block @return
kernel/src/dispatch_syscall_bf_callback_op.hpp:48
↓ 1 callersFunctionsyscall_bf_callback_op_register_fail
<!-- description --> @brief Implements the bf_callback_op_register_fail syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @return
kernel/src/dispatch_syscall_bf_callback_op.hpp:104
↓ 1 callersFunctionsyscall_bf_callback_op_register_vmexit
<!-- description --> @brief Implements the bf_callback_op_register_vmexit syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @retur
kernel/src/dispatch_syscall_bf_callback_op.hpp:75
↓ 1 callersFunctionsyscall_bf_handle_op_close_handle
<!-- description --> @brief Implements the bf_handle_op_close_handle syscall <!-- inputs/outputs --> @param tls the current TLS block @return Returns
kernel/src/dispatch_syscall_bf_handle_op.hpp:74
↓ 1 callersFunctionsyscall_bf_handle_op_open_handle
<!-- description --> @brief Implements the bf_handle_op_open_handle syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @return Retu
kernel/src/dispatch_syscall_bf_handle_op.hpp:48
↓ 1 callersFunctionsyscall_bf_intrinsic_op_rdmsr
<!-- description --> @brief Implements the bf_intrinsic_op_rdmsr syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param intrinsi
kernel/src/x64/dispatch_syscall_bf_intrinsic_op.hpp:52
↓ 1 callersFunctionsyscall_bf_intrinsic_op_wrmsr
<!-- description --> @brief Implements the bf_intrinsic_op_wrmsr syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intr
kernel/src/x64/dispatch_syscall_bf_intrinsic_op.hpp:77
↓ 1 callersFunctionsyscall_bf_mem_op_alloc_huge
<!-- description --> @brief Implements the bf_mem_op_alloc_huge syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_page_
kernel/src/dispatch_syscall_bf_mem_op.hpp:78
↓ 1 callersFunctionsyscall_bf_mem_op_alloc_page
<!-- description --> @brief Implements the bf_mem_op_alloc_page syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_page_
kernel/src/dispatch_syscall_bf_mem_op.hpp:53
↓ 1 callersFunctionsyscall_bf_vm_op_create_vm
<!-- description --> @brief Implements the bf_vm_op_create_vm syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_page_po
kernel/src/dispatch_syscall_bf_vm_op.hpp:59
↓ 1 callersFunctionsyscall_bf_vm_op_destroy_vm
<!-- description --> @brief Implements the bf_vm_op_destroy_vm syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_page_p
kernel/src/dispatch_syscall_bf_vm_op.hpp:87
↓ 1 callersFunctionsyscall_bf_vm_op_map_direct
<!-- description --> @brief Implements the bf_vm_op_map_direct syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_page_p
kernel/src/dispatch_syscall_bf_vm_op.hpp:120
↓ 1 callersFunctionsyscall_bf_vm_op_tlb_flush
<!-- description --> @brief Implements the bf_vm_op_tlb_flush syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intrins
kernel/src/dispatch_syscall_bf_vm_op.hpp:216
↓ 1 callersFunctionsyscall_bf_vm_op_unmap_direct
<!-- description --> @brief Implements the bf_vm_op_unmap_direct syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_page
kernel/src/dispatch_syscall_bf_vm_op.hpp:157
↓ 1 callersFunctionsyscall_bf_vm_op_unmap_direct_broadcast
<!-- description --> @brief Implements the bf_vm_op_unmap_direct_broadcast syscall <!-- inputs/outputs --> @return Returns a bf_status_t containing s
kernel/src/dispatch_syscall_bf_vm_op.hpp:193
↓ 1 callersFunctionsyscall_bf_vp_op_create_vp
<!-- description --> @brief Implements the bf_vp_op_create_vp syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param vm_pool the
kernel/src/dispatch_syscall_bf_vp_op.hpp:53
↓ 1 callersFunctionsyscall_bf_vp_op_destroy_vp
<!-- description --> @brief Implements the bf_vp_op_destroy_vp syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_vp_poo
kernel/src/dispatch_syscall_bf_vp_op.hpp:83
↓ 1 callersFunctionsyscall_bf_vs_op_advance_ip_and_run
<!-- description --> @brief Implements the bf_vs_op_advance_ip syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intrin
kernel/src/dispatch_syscall_bf_vs_op.hpp:339
↓ 1 callersFunctionsyscall_bf_vs_op_advance_ip_and_run_current
<!-- description --> @brief Implements the bf_vs_op_advance_ip_and_run_current syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @
kernel/src/dispatch_syscall_bf_vs_op.hpp:361
↓ 1 callersFunctionsyscall_bf_vs_op_advance_ip_and_set_active
<!-- description --> @brief Implements the bf_vs_op_advance_ip_and_set_active syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @p
kernel/src/dispatch_syscall_bf_vs_op.hpp:601
↓ 1 callersFunctionsyscall_bf_vs_op_clear
<!-- description --> @brief Implements the bf_vs_op_clear syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param intrinsic the i
kernel/src/dispatch_syscall_bf_vs_op.hpp:405
↓ 1 callersFunctionsyscall_bf_vs_op_create_vs
<!-- description --> @brief Implements the bf_vs_op_create_vs syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_page_po
kernel/src/dispatch_syscall_bf_vs_op.hpp:74
↓ 1 callersFunctionsyscall_bf_vs_op_destroy_vs
<!-- description --> @brief Implements the bf_vs_op_destroy_vs syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_page_p
kernel/src/dispatch_syscall_bf_vs_op.hpp:117
↓ 1 callersFunctionsyscall_bf_vs_op_init_as_root
<!-- description --> @brief Implements the bf_vs_op_init_as_root syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intr
kernel/src/dispatch_syscall_bf_vs_op.hpp:147
↓ 1 callersFunctionsyscall_bf_vs_op_migrate
<!-- description --> @brief Implements the bf_vs_op_migrate syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intrinsic
kernel/src/dispatch_syscall_bf_vs_op.hpp:429
↓ 1 callersFunctionsyscall_bf_vs_op_promote
<!-- description --> @brief Implements the bf_vs_op_promote syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intrinsic
kernel/src/dispatch_syscall_bf_vs_op.hpp:378
↓ 1 callersFunctionsyscall_bf_vs_op_read
<!-- description --> @brief Implements the bf_vs_op_read syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param intrinsic the in
kernel/src/dispatch_syscall_bf_vs_op.hpp:177
↓ 1 callersFunctionsyscall_bf_vs_op_tlb_flush
<!-- description --> @brief Implements the bf_vs_op_tlb_flush syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intrins
kernel/src/dispatch_syscall_bf_vs_op.hpp:636
↓ 1 callersFunctionsyscall_bf_vs_op_write
<!-- description --> @brief Implements the bf_vs_op_write syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intrinsic t
kernel/src/dispatch_syscall_bf_vs_op.hpp:213
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_map_mk_stack.cpp:47
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_alloc_and_copy_mk_elf_file_from_user.cpp:47
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_get_mk_page_pool_addr.cpp:47
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_get_mk_huge_pool_addr.cpp:47
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_map_mk_elf_segments.cpp:48
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_alloc_mk_stack.cpp:44
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_start_vmm.cpp:50
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_map_mk_args.cpp:44
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_dump_mk_stack.cpp:43
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_alloc_mk_page_pool.cpp:46
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_free_mk_debug_ring.cpp:44
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_dump_mk_root_page_table.cpp:43
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_map_ext_elf_files.cpp:47
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_loader_fini.cpp:44
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_free_mk_stack.cpp:44
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_free_mk_elf_file.cpp:47
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_alloc_and_copy_mk_elf_segments.cpp:51
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_free_mk_args.cpp:44
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_alloc_mk_huge_pool.cpp:46
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_free_mk_huge_pool.cpp:44
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_map_4k_page_rx.cpp:44
↓ 1 callersFunctiontests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
loader/tests/src/test_dump_mk_elf_file.cpp:43
← previousnext →901–1,000 of 2,423, ranked by callers