* @brief Implementation of strlen function * * @param Address * @return UINT64 */
| 733 | * @return UINT64 |
| 734 | */ |
| 735 | UINT64 |
| 736 | ScriptEngineFunctionStrlen(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 |
no test coverage detected