MCPcopy Create free account
hub / github.com/bytecode77/r77-rootkit / CompareIntegerList

Function CompareIntegerList

r77api/clist.c:63–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 return FALSE;
62}
63BOOL CompareIntegerList(PINTEGER_LIST listA, PINTEGER_LIST listB)
64{
65 if (listA == listB)
66 {
67 return TRUE;
68 }
69 else if (listA == NULL || listB == NULL)
70 {
71 return FALSE;
72 }
73 else if (listA->Count != listB->Count)
74 {
75 return FALSE;
76 }
77 else
78 {
79 for (ULONG i = 0; i < listA->Count; i++)
80 {
81 if (listA->Values[i] != listB->Values[i]) return FALSE;
82 }
83
84 return TRUE;
85 }
86}
87
88PSTRING_LIST CreateStringList(BOOL ignoreCase)
89{

Callers 1

CompareR77ConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected