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
↓ 5 callers
Function
bf_tls_rbp_impl
syscall/mocks/bf_syscall_impl.hpp:290
↓ 5 callers
Function
bf_tls_rbx_impl
syscall/mocks/bf_syscall_impl.hpp:218
↓ 5 callers
Function
bf_tls_rcx_impl
syscall/mocks/bf_syscall_impl.hpp:242
↓ 5 callers
Function
bf_tls_rdi_impl
syscall/mocks/bf_syscall_impl.hpp:338
↓ 5 callers
Function
bf_tls_rdx_impl
syscall/mocks/bf_syscall_impl.hpp:266
↓ 5 callers
Function
bf_tls_rsi_impl
syscall/mocks/bf_syscall_impl.hpp:314
↓ 5 callers
Method
bf_tls_set_ppid
<!-- description --> @brief Sets the value of tls.ppid (unit testing only) <!-- inputs/outputs --> @param val The value to set tls.ppid to
syscall/mocks/bf_syscall_t.hpp:1051
↓ 5 callers
Function
bf_tls_set_r10_impl
syscall/mocks/bf_syscall_impl.hpp:422
↓ 5 callers
Function
bf_tls_set_r11_impl
syscall/mocks/bf_syscall_impl.hpp:446
↓ 5 callers
Function
bf_tls_set_r12_impl
syscall/mocks/bf_syscall_impl.hpp:470
↓ 5 callers
Function
bf_tls_set_r13_impl
syscall/mocks/bf_syscall_impl.hpp:494
↓ 5 callers
Function
bf_tls_set_r14_impl
syscall/mocks/bf_syscall_impl.hpp:518
↓ 5 callers
Function
bf_tls_set_r15_impl
syscall/mocks/bf_syscall_impl.hpp:542
↓ 5 callers
Function
bf_tls_set_r8_impl
syscall/mocks/bf_syscall_impl.hpp:374
↓ 5 callers
Function
bf_tls_set_r9_impl
syscall/mocks/bf_syscall_impl.hpp:398
↓ 5 callers
Function
bf_tls_set_rax_impl
syscall/mocks/bf_syscall_impl.hpp:206
↓ 5 callers
Function
bf_tls_set_rbp_impl
syscall/mocks/bf_syscall_impl.hpp:302
↓ 5 callers
Function
bf_tls_set_rbx_impl
syscall/mocks/bf_syscall_impl.hpp:230
↓ 5 callers
Function
bf_tls_set_rcx_impl
syscall/mocks/bf_syscall_impl.hpp:254
↓ 5 callers
Function
bf_tls_set_rdi_impl
syscall/mocks/bf_syscall_impl.hpp:350
↓ 5 callers
Function
bf_tls_set_rdx_impl
syscall/mocks/bf_syscall_impl.hpp:278
↓ 5 callers
Function
bf_tls_set_rsi_impl
syscall/mocks/bf_syscall_impl.hpp:326
↓ 5 callers
Method
bf_vm_op_unmap_direct_broadcast
<!-- description --> @brief This syscall tells the microkernel to unmap a previously mapped virtual address in the direct map. Unlike bf_vm_op_unmap_d
syscall/src/bf_syscall_t.rs:862
↓ 5 callers
Function
bferror
* <!-- description --> * @brief Outputs a string to the console * * <!-- inputs/outputs --> * @param str the string to output */
loader/tests/include/debug.h:181
↓ 5 callers
Function
free_ext_elf_files
* <!-- description --> * @brief Releases a previously allocated elf_file_t that was allocated * using the alloc_and_copy_ext_elf_files functio
loader/src/free_ext_elf_files.c:40
↓ 5 callers
Function
free_mk_elf_segments
* <!-- description --> * @brief Releases a previously allocated elf_segment_t that was allocated * using the alloc_and_copy_mk_elf_segments fu
loader/src/free_mk_elf_segments.c:40
↓ 5 callers
Method
get_vp
<!-- description --> @brief Returns the vp_t associated with the provided vpid. <!-- inputs/outputs --> @param vpid the ID of the vp_t to get @return
example/default/src/vp_pool_t.hpp:60
↓ 5 callers
Method
get_vp
<!-- description --> @brief Returns the vp_t associated with the provided vpid. <!-- inputs/outputs --> @param vpid the ID of the vp_t to get @return
kernel/integration/support/src/vp_pool_t.hpp:60
↓ 5 callers
Method
id
<!-- description --> @brief Returns the ID of this vs_t <!-- inputs/outputs --> @return Returns the ID of this vs_t
kernel/mocks/vs_t.hpp:112
↓ 5 callers
Method
id
<!-- description --> @brief Returns the ID of this vp_t <!-- inputs/outputs --> @return Returns the ID of this vp_t
kernel/mocks/vp_t.hpp:87
↓ 5 callers
Function
platform_alloc_contiguous
* <!-- description --> * @brief This function allocates read/write virtual memory from the * kernel. This memory is physically contiguous. The
loader/tests/src/platform.c:171
↓ 5 callers
Function
platform_memcpy
* <!-- description --> * @brief Copies "num" bytes from "src" to "pmut_dst". If "src" or "pmut_dst" are * NULLPTR, returns SHIM_FAILURE, other
loader/tests/src/platform.c:304
↓ 5 callers
Method
pop
<!-- description --> @brief Pops an element from the queue and returns bsl::errc_success. If the queue is empty, returns bsl::errc_failure. <!-- inpu
lib/include/basic_queue_t.hpp:120
↓ 5 callers
Method
set_gpa
<!-- description --> @brief Sets the GPA associated with the file <!-- inputs/outputs --> @param val the GPA to associate with this file
lib/mocks/basic_ifmap_t.hpp:208
↓ 4 callers
Method
advance_ip
<!-- description --> @brief Advance the IP of the vs_t <!-- inputs/outputs --> @param tls the current TLS block @param intrinsic the intrinsic_t to u
kernel/src/x64/amd/vs_t.hpp:2473
↓ 4 callers
Function
alloc_and_copy_root_vp_state
* <!-- description --> * @brief The function's main purpose is to save state from a root VP. * The root VP is the thing executing the root VM'
loader/tests/src/alloc_and_copy_root_vp_state.c:46
↓ 4 callers
Method
assigned_pp
<!-- description --> @brief Returns the ID of the PP this vs_t is assigned to If vs_t is not assigned, syscall::BF_INVALID_ID is returned. <!-- input
kernel/src/x64/intel/vs_t.hpp:903
↓ 4 callers
Method
assigned_vp
<!-- description --> @brief Returns the ID of the VP this vs_t is assigned to. If vs_t is not assigned, syscall::BF_INVALID_ID is returned. <!-- inpu
kernel/src/x64/amd/vs_t.hpp:527
↓ 4 callers
Function
bf_debug_op_dump_huge_pool
<!-- description --> @brief This syscall tells the microkernel to output the huge pool's stats to the console device the microkernel is currently usin
syscall/src/bf_debug_ops.rs:152
↓ 4 callers
Function
bf_debug_op_out
@copyright Copyright (C) 2020 Assured Information Security, Inc. @copyright Permission is hereby granted, free of charge, to any person obtaining a c
syscall/src/bf_debug_ops.rs:34
↓ 4 callers
Method
bf_vp_op_destroy_vp_count
<!-- description --> @brief Returns the total number of times bf_vp_op_destroy_vp has been called (unit testing only) <!-- inputs/outputs --> @return
syscall/mocks/bf_syscall_t.hpp:1628
↓ 4 callers
Method
bf_vs_op_destroy_vs_count
<!-- description --> @brief Returns the total number of times bf_vs_op_destroy_vs has been called (unit testing only) <!-- inputs/outputs --> @return
syscall/mocks/bf_syscall_t.hpp:1739
↓ 4 callers
Function
bferror_x64
* <!-- description --> * @brief Outputs a string and an 64bit hex to the console * * <!-- inputs/outputs --> * @param str the string to output
loader/windows/include/debug.h:358
↓ 4 callers
Method
execute
<!-- description --> @brief Executes the extension given an instruction pointer to execute the extension at, a stack pointer to execute the extension
kernel/src/ext_t.hpp:965
↓ 4 callers
Function
free_mk_args
* <!-- description --> * @brief Releases a previously allocated mk_args_t that was allocated * using the alloc_mk_args function. * * <!-- in
loader/src/free_mk_args.c:40
↓ 4 callers
Function
free_mk_debug_ring
* <!-- description --> * @brief Releases a previously allocated debug_ring_t that was allocated * using the alloc_mk_debug_ring function. *
loader/src/free_mk_debug_ring.c:40
↓ 4 callers
Function
free_mk_elf_file
* <!-- description --> * @brief Releases a previously allocated elf_file_t that was allocated * using the alloc_and_copy_mk_elf_file function.
loader/src/free_mk_elf_file.c:40
↓ 4 callers
Function
free_mk_stack
* <!-- description --> * @brief Releases a previously allocated span_t that was allocated * using the alloc_mk_stack function. * * <!-- inpu
loader/src/free_mk_stack.c:40
↓ 4 callers
Function
free_root_vp_state
* <!-- description --> * @brief Releases a previously allocated state_save_t that was allocated * using the alloc_and_copy_root_vp_state funct
loader/tests/src/free_root_vp_state.c:39
↓ 4 callers
Method
get_vs_const
<!-- description --> @brief Returns the VsT associated with the provided vsid. <!-- inputs/outputs --> @param vsid the ID of the VsT to get @return R
example/default_rust/src/vs_pool_t.rs:50
↓ 4 callers
Function
get_vsid
<!-- description --> @brief Given an input register, returns a vsid if the provided register contains a valid vsid. Otherwise, this function returns b
kernel/src/dispatch_syscall_helpers.hpp:818
↓ 4 callers
Method
id
<!-- description --> @brief Returns the ID of this ext_t <!-- inputs/outputs --> @return Returns the ID of this ext_t
kernel/src/ext_t.hpp:1098
↓ 4 callers
Method
is_the_active_vm_the_root_vm
<!-- description --> @brief Returns true if the active VM is the root VM. Returns false otherwise. <!-- inputs/outputs --> @return Returns true if th
syscall/src/bf_syscall_t.rs:618
↓ 4 callers
Method
is_vm_the_root_vm
<!-- description --> @brief Returns true if the provided VMID is the ID of the root VM. Returns false otherwise. <!-- inputs/outputs --> @param vmid
syscall/src/bf_syscall_t.rs:633
↓ 4 callers
Method
is_vp_a_root_vp
<!-- description --> @brief Returns true if the provided VPID is the ID of a root VP. Returns false otherwise. This is the same as vpid == sys.bf_tls_
syscall/src/bf_syscall_t.rs:648
↓ 4 callers
Method
set_allocate_fails
<!-- description --> @brief Tells the allocate() function to return a failure for the provided vpid/ppid combo. <!-- inputs/outputs --> @param vpid t
example/default/mocks/vs_pool_t.hpp:129
↓ 4 callers
Method
set_bf_vp_op_create_vp
<!-- description --> @brief Sets the return value of bf_vp_op_create_vp. (unit testing only) <!-- inputs/outputs --> @param vmid The ID of the VM to
syscall/mocks/bf_syscall_t.hpp:1565
↓ 4 callers
Method
set_bf_vs_op_create_vs
<!-- description --> @brief Sets the return value of bf_vs_op_create_vs. (unit testing only) <!-- inputs/outputs --> @param vpid The ID of the VP to
syscall/mocks/bf_syscall_t.hpp:1673
↓ 4 callers
Method
set_max
<!-- description --> @brief Sets the max number of allocations before the allocator will return a nullptr as if it were out of memory. <!-- inputs/ou
lib/mocks/basic_page_pool_t.hpp:222
↓ 4 callers
Method
size
<!-- description --> @brief Returns the number of bytes in the pool. <!-- inputs/outputs --> @return Returns the number of bytes in the pool.
lib/src/basic_page_pool_t.hpp:268
↓ 4 callers
Function
stop_and_free_the_vmm
* <!-- description --> * @brief Stops and frees the VMM. This function is used by both the * stop_vmm() function and the start_vmm() function
loader/src/stop_and_free_the_vmm.c:53
↓ 4 callers
Function
tests
<!-- 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
lib/tests/include/basic_queue_t/behavior.cpp:44
↓ 3 callers
Function
alloc_pdpt
loader/src/x64/alloc_pdpt.c:46
↓ 3 callers
Function
alloc_pdt
loader/src/x64/alloc_pdt.c:46
↓ 3 callers
Function
alloc_pt
loader/src/x64/alloc_pt.c:46
↓ 3 callers
Method
assigned_vm
<!-- description --> @brief Returns the ID of the VM this vs_t is assigned to. If vs_t is not assigned, syscall::BF_INVALID_ID is returned. <!-- inpu
kernel/src/x64/amd/vs_t.hpp:512
↓ 3 callers
Method
assigned_vm
<!-- description --> @brief Returns the ID of the VM this vs_t is assigned to. If vs_t is not assigned, syscall::BF_INVALID_ID is returned. <!-- inpu
kernel/src/x64/intel/vs_t.hpp:873
↓ 3 callers
Method
assigned_vp
<!-- description --> @brief Returns the ID of the VP this vs_t is assigned to. If vs_t is not assigned, syscall::BF_INVALID_ID is returned. <!-- inpu
kernel/src/x64/intel/vs_t.hpp:888
↓ 3 callers
Method
bf_tls_set_vmid
<!-- description --> @brief Sets the value of tls.vmid (unit testing only) <!-- inputs/outputs --> @param val The value to set tls.vmid to
syscall/mocks/bf_syscall_t.hpp:979
↓ 3 callers
Function
configure_entry_as_ptr_to_block
lib/tests/src/basic_root_page_table_t/basic_root_page_table_helpers.hpp:75
↓ 3 callers
Method
data
<!-- description --> @brief Returns a pointer to the read-only mapped file. <!-- inputs/outputs --> @return Returns a pointer to the read-only mapped
lib/src/linux/basic_ifmap_t.hpp:251
↓ 3 callers
Function
ext_main_entry
example/default/src/main.cpp:240
↓ 3 callers
Method
full
<!-- description --> @brief Returns true if the queue is empty. Returns false otherwise. <!-- inputs/outputs --> @return Returns true if the queue is
lib/include/basic_queue_t.hpp:163
↓ 3 callers
Function
get_allocated_vpid
<!-- description --> @brief Given an input register, returns a vpid if the provided register contains a valid vpid and the VM associated with the vpid
kernel/src/dispatch_syscall_helpers.hpp:783
↓ 3 callers
Function
get_allocated_vsid
<!-- description --> @brief Given an input register, returns a vsid if the provided register contains a valid vsid and the VM associated with the vsid
kernel/src/dispatch_syscall_helpers.hpp:860
↓ 3 callers
Function
get_callback
<!-- description --> @brief Given an input register, returns a callback address on success, or bsl::safe_umx::failure() on failure. <!-- inputs/outpu
kernel/src/dispatch_syscall_helpers.hpp:565
↓ 3 callers
Method
get_output
Return stdout+stderr output of the process. This call blocks until the process is complete, then returns the output.
utils/iwyu_tool.py:249
↓ 3 callers
Function
get_ppid
<!-- description --> @brief Given an input register, returns a ppid if the provided register contains a valid ppid. Otherwise, this function returns b
kernel/src/dispatch_syscall_helpers.hpp:615
↓ 3 callers
Function
get_vmid
<!-- description --> @brief Given an input register, returns a vmid if the provided register contains a valid vmid. Otherwise, this function returns b
kernel/src/dispatch_syscall_helpers.hpp:664
↓ 3 callers
Method
get_vp_const
<!-- description --> @brief Returns the VpT associated with the provided vpid. <!-- inputs/outputs --> @param vpid the ID of the VpT to get @return R
example/default_rust/src/vp_pool_t.rs:50
↓ 3 callers
Function
get_vpid
<!-- description --> @brief Given an input register, returns a vpid if the provided register contains a valid vpid. Otherwise, this function returns b
kernel/src/dispatch_syscall_helpers.hpp:741
↓ 3 callers
Method
id
<!-- description --> @brief Returns the ID of this vs_t <!-- inputs/outputs --> @return Returns the ID of this vs_t
example/default/mocks/vs_t.hpp:114
↓ 3 callers
Method
id
<!-- description --> @brief Returns the ID of this vp_t <!-- inputs/outputs --> @return Returns the ID of this vp_t
example/default/mocks/vp_t.hpp:112
↓ 3 callers
Method
id
<!-- description --> @brief Returns the ID of this dVpT <!-- inputs/outputs --> @return Returns the ID of this dVpT
example/default_rust/src/vp_t.rs:105
↓ 3 callers
Method
id
<!-- description --> @brief Returns the ID of this vp_t <!-- inputs/outputs --> @return Returns the ID of this vp_t
kernel/integration/support/src/vp_t.hpp:112
↓ 3 callers
Method
initialize
<!-- description --> @brief Initializes this dVpT <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_sys
example/default_rust/src/vp_t.rs:57
↓ 3 callers
Function
intrinsic_scr0
loader/tests/include/helpers.hpp:450
↓ 3 callers
Function
is_the_active_ext_the_vmexit_ext
<!-- description --> @brief Returns true if the active extension is the extension that registered for VMExits. Returns false otherwise. <!-- inputs/o
kernel/src/dispatch_syscall_helpers.hpp:169
↓ 3 callers
Function
is_vs_a_root_vs
<!-- description --> @brief Returns true if the vs_t is a root vs_t, meaning it is a vs_t that is allowed to contain root state. A root VS will have t
kernel/src/dispatch_syscall_helpers.hpp:466
↓ 3 callers
Method
map
lib/src/basic_root_page_table_t.hpp:1897
↓ 3 callers
Function
map_4k_page
* <!-- description --> * @brief This function maps a 4k page given a physical address into a * provided root page table at the provided virtua
loader/src/x64/map_4k_page.c:62
↓ 3 callers
Function
normcase
(s)
utils/iwyu_tool.py:103
↓ 3 callers
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/linux/src/platform.c:263
↓ 3 callers
Function
platform_free_contiguous
* <!-- description --> * @brief This function frees memory previously allocated using the * platform_alloc_contiguous() function. * * <!-- i
loader/tests/src/platform.c:234
↓ 3 callers
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/tests/src/platform.c:287
↓ 3 callers
Function
serial_init
* <!-- description --> * @brief Initializes the serial port for use */
loader/src/x64/serial_init.c:69
↓ 3 callers
Method
set_bf_intrinsic_op_rdmsr
<!-- description --> @brief Sets the return value of bf_intrinsic_op_rdmsr. (unit testing only) <!-- inputs/outputs --> @param msr The address of the
syscall/mocks/bf_syscall_t.hpp:2494
↓ 3 callers
Method
set_bf_mem_op_alloc_page
<!-- description --> @brief Sets the return value of bf_mem_op_alloc_page. (unit testing only) <!-- inputs/outputs --> @param errc the bsl::errc_type
syscall/mocks/bf_syscall_t.hpp:2629
↓ 3 callers
Method
set_bf_vm_op_create_vm
<!-- description --> @brief Sets the return value of bf_vm_op_create_vm. (unit testing only) <!-- inputs/outputs --> @param vmid the ID to return whe
syscall/mocks/bf_syscall_t.hpp:1170
↓ 3 callers
Method
set_bf_vm_op_unmap_direct
<!-- description --> @brief Sets the return value of bf_vm_op_unmap_direct. (unit testing only) <!-- inputs/outputs --> @param vmid The ID of the VM
syscall/mocks/bf_syscall_t.hpp:1386
← previous
next →
401–500 of 2,423, ranked by callers