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
↓ 1 callers
Function
get_file_size
* <!-- description --> * @brief Returns the size (in bytes) of the provided file * * <!-- inputs/outputs --> * @param file_protocol the file p
loader/efi/src/entry.c:67
↓ 1 callers
Function
get_gla
<!-- description --> @brief Given an input register, returns a guest linear address if the provided register contains a valid guest linear address. Ot
kernel/src/dispatch_syscall_helpers.hpp:1123
↓ 1 callers
Function
get_huge_size
<!-- description --> @brief Given an input register, returns a huge allocation size if the provided register contains a valid huge allocation size. Ot
kernel/src/dispatch_syscall_helpers.hpp:1163
↓ 1 callers
Function
get_mk_huge_pool_addr
* <!-- description --> * @brief This function gets the addr of the microkernel's huge pool * * <!-- inputs/outputs --> * @param huge_pool a po
loader/src/get_mk_huge_pool_addr.c:44
↓ 1 callers
Function
get_mk_page_pool_addr
* <!-- description --> * @brief This function gets the addr of the microkernel's page pool * * <!-- inputs/outputs --> * @param page_pool a po
loader/src/get_mk_page_pool_addr.c:43
↓ 1 callers
Function
get_phys
<!-- description --> @brief Given an input register, returns a physical address if the provided register contains a valid physical address. Otherwise,
kernel/src/dispatch_syscall_helpers.hpp:1010
↓ 1 callers
Function
gs_initialize
<!-- description --> @brief Initializes the Global Storage (GS). <!-- inputs/outputs --> @param gs the gs_t to use @param sys the bf_syscall_t to use
example/default/src/x64/amd/gs_initialize.hpp:47
↓ 1 callers
Function
gs_initialize
@copyright Copyright (C) 2020 Assured Information Security, Inc. @copyright Permission is hereby granted, free of charge, to any person obtaining a c
example/default_rust/src/x64/amd/gs_initialize.rs:35
↓ 1 callers
Method
handle
<!-- description --> @brief Returns the ID of this ext_t <!-- inputs/outputs --> @return Returns the ID of this ext_t
kernel/mocks/ext_t.hpp:329
↓ 1 callers
Function
has_active_ext_registered_a_callback
<!-- description --> @brief Returns true if a callback has already been registered by the active ext. Returns false otherwise. <!-- inputs/outputs --
kernel/src/dispatch_syscall_helpers.hpp:60
↓ 1 callers
Method
init_vmcs
<!-- description --> @brief Initializes host specific information in the VMCS. <!-- inputs/outputs --> @param mut_tls the current TLS block @param mu
kernel/src/x64/intel/vs_t.hpp:480
↓ 1 callers
Method
initialize_ap
<!-- description --> @brief Initialize an AP. <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_vm_pool the vm_pool_t to use
kernel/src/mk_main_t.hpp:451
↓ 1 callers
Method
initialize_bsp
<!-- description --> @brief Initialize the BSP which also initializes all of the global resources used by the microkernel, and starts the extensions.
kernel/src/mk_main_t.hpp:373
↓ 1 callers
Method
initialize_count
<!-- description --> @brief Returns the total number of times initialize has been called (unit testing only) <!-- inputs/outputs --> @return Returns
syscall/mocks/bf_syscall_t.hpp:289
↓ 1 callers
Method
initialize_direct_map_rpt
<!-- description --> @brief Initializes a direct map root page table to support the execution of this extension (with the inclusion of a direct map).
kernel/src/ext_t.hpp:914
↓ 1 callers
Method
initialize_rpt
<!-- description --> @brief Initializes a root page table to support the execution of this extension. <!-- inputs/outputs --> @param mut_tls the curr
kernel/src/ext_t.hpp:851
↓ 1 callers
Function
intrinsic_cr0
<!-- description --> @brief Implements intrinsic_t::cr0 <!-- inputs/outputs --> @return n/a
kernel/mocks/x64/intrinsic_cr0.hpp:38
↓ 1 callers
Function
intrinsic_cr3
<!-- description --> @brief Implements intrinsic_t::cr3 <!-- inputs/outputs --> @return n/a
kernel/mocks/x64/intrinsic_cr3.hpp:38
↓ 1 callers
Function
intrinsic_cr4
<!-- description --> @brief Implements intrinsic_t::cr4 <!-- inputs/outputs --> @return n/a
kernel/mocks/x64/intrinsic_cr4.hpp:38
↓ 1 callers
Function
intrinsic_cs_selector
<!-- description --> @brief Implements intrinsic_t::es_selector <!-- inputs/outputs --> @return n/a
kernel/mocks/x64/intrinsic_cs_selector.hpp:38
↓ 1 callers
Function
intrinsic_ds_selector
<!-- description --> @brief Implements intrinsic_t::es_selector <!-- inputs/outputs --> @return n/a
kernel/mocks/x64/intrinsic_ds_selector.hpp:38
↓ 1 callers
Function
intrinsic_es_selector
<!-- description --> @brief Implements intrinsic_t::es_selector <!-- inputs/outputs --> @return n/a
kernel/mocks/x64/intrinsic_es_selector.hpp:38
↓ 1 callers
Function
intrinsic_fs_selector
<!-- description --> @brief Implements intrinsic_t::es_selector <!-- inputs/outputs --> @return n/a
kernel/mocks/x64/intrinsic_fs_selector.hpp:38
↓ 1 callers
Function
intrinsic_gs_selector
<!-- description --> @brief Implements intrinsic_t::es_selector <!-- inputs/outputs --> @return n/a
kernel/mocks/x64/intrinsic_gs_selector.hpp:38
↓ 1 callers
Function
intrinsic_invlpga
<!-- description --> @brief Implements intrinsic_t::invlpga <!-- inputs/outputs --> @param addr n/a @param asid n/a
kernel/mocks/x64/amd/intrinsic_invlpga.hpp:40
↓ 1 callers
Function
intrinsic_invvpid
<!-- description --> @brief Implements intrinsic_t::invvpid <!-- inputs/outputs --> @param desc n/a @param type n/a
kernel/mocks/x64/intel/intrinsic_invvpid.hpp:40
↓ 1 callers
Function
intrinsic_outb
loader/tests/include/helpers.hpp:420
↓ 1 callers
Function
intrinsic_scs
loader/tests/include/helpers.hpp:476
↓ 1 callers
Function
intrinsic_sds
loader/tests/include/helpers.hpp:489
↓ 1 callers
Function
intrinsic_ses
loader/tests/include/helpers.hpp:502
↓ 1 callers
Function
intrinsic_sfs
loader/tests/include/helpers.hpp:515
↓ 1 callers
Function
intrinsic_sgs
loader/tests/include/helpers.hpp:542
↓ 1 callers
Function
intrinsic_sidt
loader/tests/include/helpers.hpp:556
↓ 1 callers
Function
intrinsic_sldtr
loader/tests/include/helpers.hpp:569
↓ 1 callers
Function
intrinsic_ss_selector
<!-- description --> @brief Implements intrinsic_t::es_selector <!-- inputs/outputs --> @return n/a
kernel/mocks/x64/intrinsic_ss_selector.hpp:38
↓ 1 callers
Function
intrinsic_sss
loader/tests/include/helpers.hpp:582
↓ 1 callers
Function
intrinsic_tr_selector
<!-- description --> @brief Implements intrinsic_t::tr_selector <!-- inputs/outputs --> @return n/a
kernel/mocks/x64/intrinsic_tr_selector.hpp:38
↓ 1 callers
Function
intrinsic_vmcl
<!-- description --> @brief Implements intrinsic_t::vmcl <!-- inputs/outputs --> @param phys n/a @return n/a
kernel/mocks/x64/intel/intrinsic_vmcl.hpp:39
↓ 1 callers
Function
intrinsic_vmexit
kernel/mocks/x64/intel/intrinsic_t.hpp:43
↓ 1 callers
Function
intrinsic_vmld
<!-- description --> @brief Implements intrinsic_t::vmld <!-- inputs/outputs --> @param phys n/a @return n/a
kernel/mocks/x64/intel/intrinsic_vmld.hpp:39
↓ 1 callers
Function
intrinsic_vmwr16
<!-- description --> @brief Implements intrinsic_t::vmwr16 <!-- inputs/outputs --> @param field n/a @param val n/a @return n/a
kernel/mocks/x64/intel/intrinsic_vmwr16.hpp:42
↓ 1 callers
Function
intrinsic_vmwr32
<!-- description --> @brief Implements intrinsic_t::vmwr32 <!-- inputs/outputs --> @param field n/a @param val n/a @return n/a
kernel/mocks/x64/intel/intrinsic_vmwr32.hpp:42
↓ 1 callers
Function
intrinsic_vmwr64
<!-- description --> @brief Implements intrinsic_t::vmwr64 <!-- inputs/outputs --> @param field n/a @param val n/a @return n/a
kernel/mocks/x64/intel/intrinsic_vmwr64.hpp:42
↓ 1 callers
Function
intrinsic_vmwrfunc
<!-- description --> @brief Implements intrinsic_t::vmwrfunc <!-- inputs/outputs --> @param field n/a @param pmut_func n/a @return n/a
kernel/mocks/x64/intel/intrinsic_vmwrfunc.hpp:42
↓ 1 callers
Method
is_active
<!-- description --> @brief Returns the ID of the first identified PP this vm_t is active on. If the vm_t is not active, bsl::safe_u16::failure() is r
kernel/mocks/vm_t.hpp:228
↓ 1 callers
Method
is_active
<!-- description --> @brief Returns the ID of the PP this vp_t is active on. If the vp_t is not active, bsl::safe_u16::failure() is returned. <!-- in
kernel/mocks/vp_t.hpp:192
↓ 1 callers
Method
is_allocated
<!-- description --> @brief Returns true if the requested vs_t is allocated, false otherwise <!-- inputs/outputs --> @param vsid the ID of the vs_t t
example/default/src/vs_pool_t.hpp:213
↓ 1 callers
Method
is_allocated
<!-- description --> @brief Returns true if the requested vp_t is allocated, false otherwise <!-- inputs/outputs --> @param vpid the ID of the vp_t t
example/default/src/vp_pool_t.hpp:211
↓ 1 callers
Method
is_allocated
<!-- description --> @brief Returns true if the requested VpT is allocated, false otherwise <!-- inputs/outputs --> @param vpid the ID of the VpT to
example/default_rust/src/vp_pool_t.rs:191
↓ 1 callers
Method
is_allocated
<!-- description --> @brief Returns true if the requested VsT is allocated, false otherwise <!-- inputs/outputs --> @param vpid the ID of the VsT to
example/default_rust/src/vs_pool_t.rs:195
↓ 1 callers
Method
is_allocated
<!-- description --> @brief Returns true if the requested vs_t is allocated, false otherwise <!-- inputs/outputs --> @param vsid the ID of the vs_t t
kernel/integration/support/src/vs_pool_t.hpp:213
↓ 1 callers
Method
is_allocated
<!-- description --> @brief Returns true if the requested vp_t is allocated, false otherwise <!-- inputs/outputs --> @param vpid the ID of the vp_t t
kernel/integration/support/src/vp_pool_t.hpp:211
↓ 1 callers
Method
is_allocated
<!-- description --> @brief Returns true if this vp_t is allocated, false otherwise <!-- inputs/outputs --> @return Returns true if this vp_t is allo
kernel/src/vp_t.hpp:147
↓ 1 callers
Method
is_deallocated
<!-- description --> @brief Returns true if the requested vm_t is deallocated, false otherwise <!-- inputs/outputs --> @param vmid the ID of the vm_t
kernel/mocks/vm_pool_t.hpp:166
↓ 1 callers
Method
is_deallocated
<!-- description --> @brief Returns true if the requested vs_t is deallocated, false otherwise <!-- inputs/outputs --> @param vsid the ID of the vs_t
kernel/mocks/vs_pool_t.hpp:174
↓ 1 callers
Method
is_deallocated
<!-- description --> @brief Returns true if the requested vp_t is deallocated, false otherwise <!-- inputs/outputs --> @param vpid the ID of the vp_t
kernel/mocks/vp_pool_t.hpp:154
↓ 1 callers
Method
is_deallocated
<!-- description --> @brief Returns true if the requested vm_t is deallocated, false otherwise <!-- inputs/outputs --> @param vmid the ID of the vm_t
kernel/src/vm_pool_t.hpp:172
↓ 1 callers
Method
is_deallocated
<!-- description --> @brief Returns true if the requested vs_t is deallocated, false otherwise <!-- inputs/outputs --> @param vsid the ID of the vs_t
kernel/src/vs_pool_t.hpp:179
↓ 1 callers
Method
is_deallocated
<!-- description --> @brief Returns true if the requested vp_t is deallocated, false otherwise <!-- inputs/outputs --> @param vpid the ID of the vp_t
kernel/src/vp_pool_t.hpp:157
↓ 1 callers
Function
is_mk_exception
<!-- description --> @brief Returns true if the exception came from the microkernel. Returns false if the exception came from an extension <!-- input
kernel/src/x64/dispatch_esr.hpp:240
↓ 1 callers
Function
is_msvc_driver
Return True if compile_command matches an MSVC CL-style driver.
utils/iwyu_tool.py:132
↓ 1 callers
Function
is_subpath_of
Return True if path is equal to or fully contained within parent. Assumes both paths are canonicalized with os.path.realpath.
utils/iwyu_tool.py:110
↓ 1 callers
Function
is_version_supported
<!-- description --> @brief Returns true if the provided version is supported. Returns false otherwise. <!-- inputs/outputs --> @param reg the regist
kernel/src/dispatch_syscall_helpers.hpp:118
↓ 1 callers
Function
is_vm_destroyable
<!-- description --> @brief Returns true if the vm_t associated with the provided vmid is destroyable. Returns false otherwise. <!-- inputs/outputs -
kernel/src/dispatch_syscall_helpers.hpp:199
↓ 1 callers
Function
is_vp_active_on_another_pp
<!-- description --> @brief Returns true if the requested vp_t is active on another PP. Returns false otherwise. <!-- inputs/outputs --> @param tls t
kernel/src/dispatch_syscall_helpers.hpp:493
↓ 1 callers
Function
is_vp_assigned_to_vm
<!-- description --> @brief Returns true if the vp_t associated with the provided vpid is assigned to the provided VM. Returns false otherwise. <!--
kernel/src/dispatch_syscall_helpers.hpp:353
↓ 1 callers
Function
is_vp_destroyable
<!-- description --> @brief Returns true if the vp_t associated with the provided vpid is destroyable. Returns false otherwise. <!-- inputs/outputs -
kernel/src/dispatch_syscall_helpers.hpp:246
↓ 1 callers
Function
is_vs_active_on_another_pp
<!-- description --> @brief Returns true if the requested vs_t is active on another PP. Returns false otherwise. <!-- inputs/outputs --> @param tls t
kernel/src/dispatch_syscall_helpers.hpp:528
↓ 1 callers
Function
is_vs_assigned_to_current_pp
<!-- description --> @brief Returns true if the vs_t associated with the provided vsid is assigned to the provided PP. Returns false otherwise. <!--
kernel/src/dispatch_syscall_helpers.hpp:425
↓ 1 callers
Function
is_vs_assigned_to_vp
<!-- description --> @brief Returns true if the vs_t associated with the provided vsid is assigned to the provided VP. Returns false otherwise. <!--
kernel/src/dispatch_syscall_helpers.hpp:389
↓ 1 callers
Function
is_vs_destroyable
<!-- description --> @brief Returns true if the vs_t associated with the provided vsid is destroyable. Returns false otherwise. <!-- inputs/outputs -
kernel/src/dispatch_syscall_helpers.hpp:290
↓ 1 callers
Function
is_vs_migratable
<!-- description --> @brief Returns true if the vs_t associated with the provided vsid is migratable to the PP associated with the provided ppid. Retu
kernel/src/dispatch_syscall_helpers.hpp:321
↓ 1 callers
Function
load_images_and_start
* <!-- description --> * @brief Loads the ELF images from the EFI partition and starts the VMM. * * <!-- inputs/outputs --> * @return returns
loader/efi/src/entry.c:226
↓ 1 callers
Function
load_phdr_table_without_tls
<!-- description --> @brief Loads the initial state of the program header table. <!-- inputs/outputs --> @param mut_phdr_table the program header tab
kernel/tests/src/ext_t/behavior.cpp:222
↓ 1 callers
Function
loaderCreateDevice
loader/windows/src/Device.c:35
↓ 1 callers
Function
loaderQueueInitialize
loader/windows/src/Queue.c:42
↓ 1 callers
Function
locate_protocols
* <!-- description --> * @brief Locates all of the protocols that are needed * * <!-- inputs/outputs --> * @return returns EFI_SUCCESS on succ
loader/efi/src/entry.c:186
↓ 1 callers
Function
main
Entry point.
utils/iwyu_tool.py:391
↓ 1 callers
Function
main
<!-- description --> @brief Main function for this unit test. If a call to bsl::ut_check() fails the application will fast fail. If all calls to bsl::
kernel/tests/src/x64/amd/vs_t/behavior.cpp:795
↓ 1 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/arm/aarch64/map_4k_page.c:65
↓ 1 callers
Function
map_ext_elf_file
* <!-- description --> * @brief This function provides the guts of the map_ext_elf_files function, * by performing the map operation for a sin
loader/src/map_ext_elf_files.c:43
↓ 1 callers
Function
map_ext_elf_files
* <!-- description --> * @brief This function maps the extensions's ELF files into the * microkernel's root page tables. * * <!-- inputs/out
loader/src/map_ext_elf_files.c:72
↓ 1 callers
Function
map_mk_args
* <!-- description --> * @brief This function maps the microkernel's args into the microkernel's * root page tables. * * <!-- inputs/outputs
loader/src/map_mk_args.c:44
↓ 1 callers
Function
map_mk_code_aliases
* <!-- description --> * @brief This function maps the code aliases into the microkernel's * root page tables. For more information about how
loader/src/x64/map_mk_code_aliases.c:59
↓ 1 callers
Function
map_mk_debug_ring
* <!-- description --> * @brief This function maps the microkernel's debug_ring into the * microkernel's root page tables. * * <!-- inputs/o
loader/src/map_mk_debug_ring.c:44
↓ 1 callers
Function
map_mk_elf_file
* <!-- description --> * @brief This function maps the microkernel's ELF file into the * microkernel's root page tables. * * <!-- inputs/out
loader/src/map_mk_elf_file.c:43
↓ 1 callers
Function
map_mk_elf_segment
* <!-- description --> * @brief This function maps the microkernel's ELF segment into the * microkernel's root page tables. * * <!-- inputs/
loader/src/map_mk_elf_segments.c:45
↓ 1 callers
Function
map_mk_elf_segments
* <!-- description --> * @brief This function maps the microkernel's ELF segments into the * microkernel's root page tables. * * <!-- inputs
loader/src/map_mk_elf_segments.c:80
↓ 1 callers
Function
map_mk_huge_pool
* <!-- description --> * @brief This function maps the microkernel's huge pool into the * microkernel's root page tables. * * <!-- inputs/ou
loader/src/map_mk_huge_pool.c:45
↓ 1 callers
Function
map_mk_page_pool
* <!-- description --> * @brief This function maps the microkernel's page pool into the * microkernel's root page tables. * * @note Unlike
loader/src/map_mk_page_pool.c:57
↓ 1 callers
Function
map_mk_stack
* <!-- description --> * @brief This function maps the microkernel's stack into the microkernel's * root page tables. * * <!-- inputs/output
loader/src/map_mk_stack.c:47
↓ 1 callers
Function
map_mk_state
* <!-- description --> * @brief This function maps the microkernel's state into the microkernel's * root page tables. * * <!-- inputs/output
loader/src/x64/map_mk_state.c:46
↓ 1 callers
Function
map_root_vp_state
* <!-- description --> * @brief This function maps the root VP's state into the microkernel's * root page tables. * * <!-- inputs/outputs --
loader/src/x64/map_root_vp_state.c:44
↓ 1 callers
Method
migrate
<!-- description --> @brief Migrates this vs_t from one PP to another <!-- inputs/outputs --> @param tls the current TLS block @param intrinsic the i
kernel/src/x64/amd/vs_t.hpp:493
↓ 1 callers
Function
partition_args
Split around '--' into driver args and IWYU args.
utils/iwyu_tool.py:470
↓ 1 callers
Function
phdrtbl_offset
<!-- description --> @brief Returns the offset of the phdrtbl in a file_t <!-- inputs/outputs --> @param file the file_t to get the offset from @retu
loader/tests/include/helpers.hpp:251
↓ 1 callers
Function
platform_alloc
* <!-- description --> * @brief This function allocates read/write virtual memory from the * kernel. This memory is not physically contiguous.
loader/linux/src/platform.c:89
↓ 1 callers
Function
platform_alloc_contiguous
* <!-- description --> * @brief This function allocates read/write virtual memory from the * kernel. This memory is physically contiguous. The
loader/efi/src/platform.c:134
↓ 1 callers
Function
platform_arch_init
* <!-- description --> * @brief Initializes the architecture. Some platforms might need per CPU * initialization logic to get the CPU set up.
loader/tests/src/platform.c:429
↓ 1 callers
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/efi/src/platform.c:422
← previous
next →
801–900 of 2,423, ranked by callers