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

Function IsHex

hyperdbg/script-engine/code/common.c:558–565  ·  view source on GitHub ↗

* @brief Checks whether input char belongs to hexadecimal digit-set or not * * @param c the character to check * @return char */

Source from the content-addressed store, hash-verified

556 * @return char
557 */
558char
559IsHex(char c)
560{
561 if ((c >= '0' && c <= '9') || (c >= 'a' && c <= 'f') || (c >= 'A' && c <= 'F'))
562 return 1;
563 else
564 return 0;
565}
566
567/**
568 * @brief Checks whether input char belongs to decimal digit-set or not

Callers 1

GetTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected