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

Function PseudoRegToInt

hyperdbg/script-engine/code/script-engine.c:4212–4223  ·  view source on GitHub ↗

* @brief Converts pseudo register string to integer * * @param str * @return unsigned long long int */

Source from the content-addressed store, hash-verified

4210 * @return unsigned long long int
4211 */
4212unsigned long long int
4213PseudoRegToInt(char * str)
4214{
4215 for (int i = 0; i < PSEUDO_REGISTER_MAP_LIST_LENGTH; i++)
4216 {
4217 if (!strcmp(str, PseudoRegisterMapList[i].Name))
4218 {
4219 return PseudoRegisterMapList[i].Type;
4220 }
4221 }
4222 return INVALID;
4223}
4224
4225/**
4226 * @brief Converts a sematinc rule token to integer

Callers 2

GetTokenFunction · 0.85
ToSymbolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected