MCPcopy Create free account
hub / github.com/HyperDbg/HyperDbg / ScriptEngineFunctionStrlen

Function ScriptEngineFunctionStrlen

hyperdbg/script-eval/code/Functions.c:735–748  ·  view source on GitHub ↗

* @brief Implementation of strlen function * * @param Address * @return UINT64 */

Source from the content-addressed store, hash-verified

733 * @return UINT64
734 */
735UINT64
736ScriptEngineFunctionStrlen(const char * Address)
737{
738 UINT64 Result = 0;
739#ifdef SCRIPT_ENGINE_USER_MODE
740 Result = strlen(Address);
741#endif // SCRIPT_ENGINE_USER_MODE
742
743#ifdef SCRIPT_ENGINE_KERNEL_MODE
744 Result = VmFuncVmxCompatibleStrlen(Address);
745#endif // SCRIPT_ENGINE_KERNEL_MODE
746
747 return Result;
748}
749
750/**
751 * @brief Implementation of disassemble_len function

Callers 1

ScriptEngineExecuteFunction · 0.85

Calls 1

Tested by

no test coverage detected