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

Function CompareStringList

r77api/clist.c:162–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160 return FALSE;
161}
162BOOL CompareStringList(PSTRING_LIST listA, PSTRING_LIST listB)
163{
164 if (listA == listB)
165 {
166 return TRUE;
167 }
168 else if (listA == NULL || listB == NULL)
169 {
170 return FALSE;
171 }
172 else if (listA->Count != listB->Count)
173 {
174 return FALSE;
175 }
176 else
177 {
178 for (ULONG i = 0; i < listA->Count; i++)
179 {
180 if (listA->IgnoreCase && listB->IgnoreCase ? StrCmpIW(listA->Values[i], listB->Values[i]) : StrCmpW(listA->Values[i], listB->Values[i])) return FALSE;
181 }
182
183 return TRUE;
184 }
185}

Callers 1

CompareR77ConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected