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
Function
send_command_stop
* <!-- description --> * @brief Tells the hypervisor to stop * * <!-- inputs/outputs --> * @return LOADER_SUCCESS on success, LOADER_FAILURE o
loader/tests/src/send_command_stop.c:38
Function
serial_init
* <!-- description --> * @brief Initializes the serial port for use */
loader/src/arm/aarch64/serial_init.c:31
Function
serial_write
<!-- description --> @brief Outputs a string to the serial port. <!-- inputs/outputs --> @param str the string to output @param len the total number
kernel/mocks/serial_write.hpp:41
Method
set_active
<!-- description --> @brief Sets this vm_t as active. <!-- inputs/outputs --> @param mut_tls the current TLS block
kernel/mocks/vm_t.hpp:185
Method
set_active
<!-- description --> @brief Sets this vs_t as active. <!-- inputs/outputs --> @param mut_tls the current TLS block @param intrinsic the intrinsic_t t
kernel/mocks/vs_t.hpp:214
Method
set_active
<!-- description --> @brief Sets the requested vm_t as active <!-- inputs/outputs --> @param mut_tls the current TLS block @param vmid the ID of the
kernel/mocks/vm_pool_t.hpp:194
Method
set_active
<!-- description --> @brief Sets the requested vs_t as active <!-- inputs/outputs --> @param mut_tls the current TLS block @param intrinsic the intri
kernel/mocks/vs_pool_t.hpp:203
Method
set_active
<!-- description --> @brief Sets the requested vp_t as active <!-- inputs/outputs --> @param mut_tls the current TLS block @param vpid the ID of the
kernel/mocks/vp_pool_t.hpp:182
Method
set_active
<!-- description --> @brief Sets this vp_t as active. <!-- inputs/outputs --> @param mut_tls the current TLS block
kernel/mocks/vp_t.hpp:158
Method
set_active
<!-- description --> @brief Sets the requested vm_t as active <!-- inputs/outputs --> @param mut_tls the current TLS block @param vmid the ID of the
kernel/src/vm_pool_t.hpp:200
Method
set_active
<!-- description --> @brief Sets the requested vs_t as active <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intrinsic the i
kernel/src/vs_pool_t.hpp:208
Method
set_active
<!-- description --> @brief Sets the requested vp_t as active <!-- inputs/outputs --> @param mut_tls the current TLS block @param vpid the ID of the
kernel/src/vp_pool_t.hpp:185
Method
set_active
<!-- description --> @brief Sets this vp_t as active. <!-- inputs/outputs --> @param mut_tls the current TLS block
kernel/src/vp_t.hpp:159
Method
set_active
<!-- description --> @brief Sets this vs_t as active. <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intrinsic the intrinsic
kernel/src/x64/amd/vs_t.hpp:393
Method
set_active
<!-- description --> @brief Sets this vs_t as active. <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intrinsic the intrinsic
kernel/src/x64/intel/vs_t.hpp:754
Method
set_allocate_fails
<!-- description --> @brief Tells the allocate() function to return a failure for the provided vmid. <!-- inputs/outputs --> @param vmid the ID of th
example/default/mocks/vp_pool_t.hpp:122
Method
set_bootstrap_ip
<!-- description --> @brief Sets the bootstrap IP for this extension. This should be called by the syscall dispatcher as the result of a syscall from
kernel/mocks/ext_t.hpp:211
Method
set_extension_fail_sp
<!-- description --> @brief Sets the extension stack pointer given a TLS block, based on what PP we are currently executing on. <!-- inputs/outputs -
kernel/src/mk_main_t.hpp:218
Method
set_extension_sp
<!-- description --> @brief Sets the extension stack pointer given a TLS block, based on what PP we are currently executing on. <!-- inputs/outputs -
kernel/src/mk_main_t.hpp:147
Method
set_extension_tp
<!-- description --> @brief Sets the extension TLS pointer given a TLS block, based on what PP we are currently executing on. <!-- inputs/outputs -->
kernel/src/mk_main_t.hpp:289
Method
set_fail_ip
<!-- description --> @brief Sets the fast fail IP for this extension. This should be called by the syscall dispatcher as the result of a syscall from
kernel/mocks/ext_t.hpp:273
Method
set_gpa
<!-- description --> @brief Sets the GPA associated with the file <!-- inputs/outputs --> @param gpa the GPA to associate with this file
lib/src/windows/basic_ifmap_t.hpp:337
Method
set_gpa
<!-- description --> @brief Sets the GPA associated with the file <!-- inputs/outputs --> @param val the GPA to associate with this file
lib/src/linux/basic_ifmap_t.hpp:312
Method
set_inactive
<!-- description --> @brief Sets this vm_t as inactive. <!-- inputs/outputs --> @param mut_tls the current TLS block
kernel/mocks/vm_t.hpp:204
Method
set_inactive
<!-- description --> @brief Sets this vs_t as inactive. <!-- inputs/outputs --> @param mut_tls the current TLS block @param intrinsic the intrinsic_t
kernel/mocks/vs_t.hpp:233
Method
set_inactive
<!-- description --> @brief Sets the requested vm_t as inactive <!-- inputs/outputs --> @param mut_tls the current TLS block @param vmid the ID of th
kernel/mocks/vm_pool_t.hpp:207
Method
set_inactive
<!-- description --> @brief Sets the requested vs_t as inactive <!-- inputs/outputs --> @param mut_tls the current TLS block @param intrinsic the int
kernel/mocks/vs_pool_t.hpp:217
Method
set_inactive
<!-- description --> @brief Sets the requested vp_t as inactive <!-- inputs/outputs --> @param mut_tls the current TLS block @param vpid the ID of th
kernel/mocks/vp_pool_t.hpp:195
Method
set_inactive
<!-- description --> @brief Sets this vp_t as inactive. <!-- inputs/outputs --> @param mut_tls the current TLS block
kernel/mocks/vp_t.hpp:174
Method
set_inactive
<!-- description --> @brief Sets the requested vm_t as inactive <!-- inputs/outputs --> @param mut_tls the current TLS block @param vmid the ID of th
kernel/src/vm_pool_t.hpp:213
Method
set_inactive
<!-- description --> @brief Sets the requested vs_t as inactive <!-- inputs/outputs --> @param mut_tls the current TLS block @param intrinsic the int
kernel/src/vs_pool_t.hpp:222
Method
set_inactive
<!-- description --> @brief Sets the requested vp_t as inactive <!-- inputs/outputs --> @param mut_tls the current TLS block @param vpid the ID of th
kernel/src/vp_pool_t.hpp:198
Method
set_inactive
<!-- description --> @brief Sets this vp_t as inactive. <!-- inputs/outputs --> @param mut_tls the current TLS block
kernel/src/vp_t.hpp:175
Method
set_inactive
<!-- description --> @brief Sets this vs_t as inactive. <!-- inputs/outputs --> @param mut_tls the current TLS block @param intrinsic the intrinsic_t
kernel/src/x64/amd/vs_t.hpp:426
Method
set_inactive
<!-- description --> @brief Sets this vs_t as inactive. <!-- inputs/outputs --> @param mut_tls the current TLS block @param intrinsic the intrinsic_t
kernel/src/x64/intel/vs_t.hpp:787
Method
set_rpt
<!-- description --> @brief Sets the value of CR3 <!-- inputs/outputs --> @param val the value to set CR3 to
kernel/mocks/x64/intrinsic_t.hpp:78
Method
set_rpt
<!-- description --> @brief Sets the value of CR3 <!-- inputs/outputs --> @param val the value to set CR3 to
kernel/mocks/x64/amd/intrinsic_t.hpp:78
Method
set_rpt
<!-- description --> @brief Sets the value of CR3 <!-- inputs/outputs --> @param val the value to set CR3 to
kernel/mocks/x64/intel/intrinsic_t.hpp:210
Method
set_rpt
<!-- description --> @brief Sets the RPT pointer <!-- inputs/outputs --> @param val the value to set the RPT pointer to
kernel/src/x64/amd/intrinsic_t.hpp:93
Method
set_rpt
<!-- description --> @brief Sets the value of CR3 <!-- inputs/outputs --> @param val the value to set CR3 to
kernel/src/x64/intel/intrinsic_t.hpp:248
Function
set_store
lib/mocks/basic_ioctl_helpers.hpp:68
Method
set_tls_reg
<!-- description --> @brief Sets the value of a requested TLS register <!-- inputs/outputs --> @param reg the TLS register to set @param val the valu
kernel/mocks/x64/amd/intrinsic_t.hpp:116
Method
set_tls_reg
<!-- description --> @brief Sets the value of a requested TLS register <!-- inputs/outputs --> @param reg the TLS register to set @param val the valu
kernel/mocks/x64/intel/intrinsic_t.hpp:248
Method
set_tp
<!-- description --> @brief Sets the value of tp (TLS pointer) <!-- inputs/outputs --> @param val the value to set tp (TLS pointer) to
kernel/mocks/x64/intrinsic_t.hpp:90
Method
set_tp
<!-- description --> @brief Sets the value of tp (TLS pointer) <!-- inputs/outputs --> @param val the value to set tp (TLS pointer) to
kernel/mocks/x64/amd/intrinsic_t.hpp:90
Method
set_tp
<!-- description --> @brief Sets the value of tp (TLS pointer) <!-- inputs/outputs --> @param val the value to set tp (TLS pointer) to
kernel/mocks/x64/intel/intrinsic_t.hpp:222
Method
set_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/intel/intrinsic_t.hpp:261
Method
set_tp
<!-- description --> @brief Sets the value of tp (TLS pointer) <!-- inputs/outputs --> @param val the value to set tp (TLS pointer) to
kernel/src/arm/aarch64/intrinsic_t.hpp:68
Method
set_vmexit_ip
<!-- description --> @brief Sets the VMExit IP for this extension. This should be called by the syscall dispatcher as the result of a syscall from the
kernel/mocks/ext_t.hpp:242
Function
setup_cr0
* <!-- description --> * @brief Ensures that CR0 is set up properly. */
loader/efi/src/x64/intel/setup_cr0.c:42
Function
setup_cr4
* <!-- description --> * @brief Ensures that CR4 is set up properly. */
loader/efi/src/x64/intel/setup_cr4.c:45
Method
signal_vm_active
<!-- description --> @brief Tells the extensions that the requested VM was set to active and therefore it's memory map should change on this PP. <!--
kernel/mocks/ext_pool_t.hpp:152
Method
signal_vm_active
<!-- description --> @brief Tells the extension that the requested VM was set to active and therefore it's memory map should change on this PP. <!--
kernel/mocks/ext_t.hpp:516
Method
signal_vm_active
<!-- description --> @brief Tells the extensions that the requested VM was set to active and therefore it's memory map should change on this PP. <!--
kernel/src/ext_pool_t.hpp:196
Method
signal_vm_created
<!-- description --> @brief Tells each extension that a VM was created so that it can initialize it's VM specific resources. <!-- inputs/outputs -->
kernel/mocks/ext_pool_t.hpp:114
Method
signal_vm_created
<!-- description --> @brief Tells the extension that a VM was created so that it can initialize it's VM specific resources. <!-- inputs/outputs --> @
kernel/mocks/ext_t.hpp:478
Method
signal_vm_created
<!-- description --> @brief Tells each extension that a VM was created so that it can initialize it's VM specific resources. <!-- inputs/outputs -->
kernel/src/ext_pool_t.hpp:151
Method
signal_vm_destroyed
<!-- description --> @brief Tells each extension that a VM was destroyed so that it can release it's VM specific resources. <!-- inputs/outputs --> @
kernel/mocks/ext_pool_t.hpp:134
Method
signal_vm_destroyed
<!-- description --> @brief Tells the extension that a VM was destroyed so that it can release it's VM specific resources. <!-- inputs/outputs --> @p
kernel/mocks/ext_t.hpp:498
Method
signal_vm_destroyed
<!-- description --> @brief Tells each extension that a VM was destroyed so that it can release it's VM specific resources. <!-- inputs/outputs --> @
kernel/src/ext_pool_t.hpp:178
Method
size
<!-- description --> @brief Returns the number of bytes in the file being mapped. <!-- inputs/outputs --> @return Returns the number of bytes in the
lib/src/windows/basic_ifmap_t.hpp:313
Method
size
<!-- description --> @brief Returns the number of elements in the queue <!-- inputs/outputs --> @return Returns the number of elements in the queue
lib/include/basic_queue_t.hpp:180
Method
size_to_page_aligned_bytes
<!-- description --> @brief Returns "size" as a "page_aligned_bytes_t" <!-- inputs/outputs --> @param size the number of bytes to convert @return Ret
kernel/src/ext_t.hpp:165
Method
spa
<!-- description --> @brief Returns the system physical address of the RPT. <!-- inputs/outputs --> @return Returns the system physical address of th
lib/mocks/basic_root_page_table_t.hpp:356
Method
ss_selector
<!-- description --> @brief Returns the value of SS <!-- inputs/outputs --> @return Returns the value of SS
kernel/mocks/x64/intel/intrinsic_t.hpp:114
Method
start
Run invocation and collect output.
utils/iwyu_tool.py:307
Method
start
<!-- description --> @brief Starts this ext_pool_t by calling all of the extension's _start entry points. <!-- inputs/outputs --> @param tls the curr
kernel/mocks/ext_pool_t.hpp:171
Method
start
<!-- description --> @brief Starts the extension by executing it's _start entry point. If the extension has not been initialized, this function will r
kernel/mocks/ext_t.hpp:536
Method
start
<!-- description --> @brief Starts this ext_pool_t by calling all of the extension's _start entry points. <!-- inputs/outputs --> @param mut_tls the
kernel/src/ext_pool_t.hpp:215
Method
state_save_to_vs
<!-- description --> @brief Stores the provided state in the requested vs_t <!-- inputs/outputs --> @param tls the current TLS block @param intrinsic
kernel/mocks/vs_pool_t.hpp:410
Method
state_save_to_vs
<!-- description --> @brief Stores the provided state in the requested vs_t <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_i
kernel/src/vs_pool_t.hpp:415
Method
state_save_to_vs
<!-- description --> @brief Stores the provided state in the vs_t <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intrinsic t
kernel/src/x64/intel/vs_t.hpp:918
Function
stdio_out_char
<!-- description --> @brief Output a character to stdout <!-- inputs/outputs --> @param c the character to output
kernel/src/bsl/cstdio.hpp:53
Function
stdio_out_cstr
<!-- description --> @brief Output a string to stdout <!-- inputs/outputs --> @param str the string to output @param len the total number of bytes to
kernel/src/bsl/cstdio.hpp:71
Function
stdlib_fast_fail
<!-- description --> @brief Immediately the application with a failure
kernel/src/bsl/cstdlib.hpp:39
Function
test_bf_is_page_aligned
()
syscall/include/bf_constants.rs:46
Function
test_bf_is_spec1_supported
()
syscall/include/bf_constants.rs:277
Function
test_bf_page_aligned
()
syscall/include/bf_constants.rs:66
Function
test_bf_syscall_flags
()
syscall/include/bf_constants.rs:177
Function
test_bf_syscall_index
()
syscall/include/bf_constants.rs:240
Function
test_bf_syscall_opcode
()
syscall/include/bf_constants.rs:198
Function
test_bf_syscall_opcode_nosig
()
syscall/include/bf_constants.rs:219
Function
test_bf_syscall_sig
()
syscall/include/bf_constants.rs:156
Function
test_func
loader/tests/src/test_platform.cpp:44
Function
thread_func
<!-- description --> @brief Used to test to make sure that threads have to wait
lib/tests/src/basic_spinlock_t/behavior.cpp:53
Method
tlb_flush
<!-- description --> @brief Loops through every VS, and flushes any TLB entries associated with a VS that is assigned to the provided VM and the curre
kernel/mocks/vs_pool_t.hpp:554
Method
tlb_flush
<!-- description --> @brief Invalidates TLB entries given an address. <!-- inputs/outputs --> @param addr the address to invalidate. @param ignored n
kernel/mocks/intrinsic_t.hpp:49
Method
tlb_flush
<!-- description --> @brief Invalidates TLB entries given an address and an ASID. If the ASID is set to 0, an extension address is invalidated. If the
kernel/mocks/x64/intrinsic_t.hpp:62
Method
tlb_flush
<!-- description --> @brief Invalidates TLB entries given an address and an ASID. If the ASID is set to 0, an extension address is invalidated. If the
kernel/mocks/x64/amd/intrinsic_t.hpp:62
Method
tlb_flush
<!-- description --> @brief Invalidates TLB entries given an address and a VPID. If the VPID is set to BF_INVALID_ID, an extension address is invalida
kernel/mocks/x64/intel/intrinsic_t.hpp:76
Method
tlb_flush
<!-- description --> @brief Loops through every VS, and flushes any TLB entries associated with a VS that is assigned to the provided VM and the curre
kernel/src/vs_pool_t.hpp:550
Method
tlb_flush
<!-- description --> @brief Invalidates TLB entries given an address and an ASID. If the ASID is set to 0, an extension address is invalidated. If the
kernel/src/x64/amd/intrinsic_t.hpp:67
Method
tlb_flush
<!-- description --> @brief Flushes any TLB entries associated with this VS on the current PP. <!-- inputs/outputs --> @param mut_tls the current TLS
kernel/src/x64/intel/vs_t.hpp:3646
Method
tlb_flush
<!-- description --> @brief Invalidates TLB entries given an address and a VPID. If the VPID is set to BF_INVALID_ID, an extension address is invalida
kernel/src/x64/intel/intrinsic_t.hpp:94
Function
tls_initialize
<!-- description --> @brief Initializes the Thread Local Storage (TLS). <!-- inputs/outputs --> @param tls the tls_t to use @param sys the bf_syscall
example/default/src/x64/intel/tls_initialize.hpp:47
Function
tls_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/intel/tls_initialize.rs:35
Function
tls_initialize
<!-- description --> @brief Initializes the Thread Local Storage (TLS). <!-- inputs/outputs --> @param tls the tls_t to use @param sys the bf_syscall
kernel/integration/support/src/x64/intel/tls_initialize.hpp:47
Method
tls_reg
<!-- description --> @brief Returns the value of a requested TLS register <!-- inputs/outputs --> @param reg the TLS register to get @return Returns
kernel/mocks/x64/amd/intrinsic_t.hpp:103
Method
tls_reg
<!-- description --> @brief Returns the value of a requested TLS register <!-- inputs/outputs --> @param reg the TLS register to get @return Returns
kernel/mocks/x64/intel/intrinsic_t.hpp:235
Method
tp
<!-- description --> @brief Returns the value of tp (TLS pointer) <!-- inputs/outputs --> @return Returns the value of tp (TLS pointer)
kernel/src/arm/aarch64/intrinsic_t.hpp:52
← previous
next →
2,201–2,300 of 2,423, ranked by callers