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

Function RotateLeftStringOnce

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

* @brief Rotate a character array to the left by one time * * @param str the string to rotate * @return void */

Source from the content-addressed store, hash-verified

1533 * @return void
1534 */
1535void
1536RotateLeftStringOnce(char * str)
1537{
1538 INT Length = (INT)strlen(str);
1539 CHAR Temp = str[0];
1540 for (int i = 0; i < (Length - 1); i++)
1541 {
1542 str[i] = str[i + 1];
1543 }
1544 str[Length - 1] = Temp;
1545}

Callers 1

GetTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected