HyperDbg/hyperdbg/include/components/optimizations/header/BinarySearch.h
2023-08-21 20:06:34 +09:00

22 lines
606 B
C

/**
* @file BinarySearch.h
* @author Mohammad K. Fallah (mkf1980@gmail.com)
* @brief The header file for array management routines (Binary Search)
* @details
* @version 0.5
* @date 2023-07-28
*
* @copyright This project is released under the GNU Public License v3.
*
*/
#pragma once
//////////////////////////////////////////////////
// Functions //
//////////////////////////////////////////////////
VOID
BinarySearchPrintArray(UINT64 ArrayPtr[], UINT32 NumberOfItems);
BOOLEAN
BinarySearchPerformSearchItem(UINT64 ArrayPtr[], UINT32 NumberOfItems, UINT32 * ResultIndex, UINT64 Key);