• Home
  • Raw
  • Download

Lines Matching refs:LibFunc

53 static const std::pair<LibFunc::Func, AllocFnsTy> AllocationFnData[] = {
54 {LibFunc::malloc, {MallocLike, 1, 0, -1}},
55 {LibFunc::valloc, {MallocLike, 1, 0, -1}},
56 {LibFunc::Znwj, {OpNewLike, 1, 0, -1}}, // new(unsigned int)
57 {LibFunc::ZnwjRKSt9nothrow_t, {MallocLike, 2, 0, -1}}, // new(unsigned int, nothrow)
58 {LibFunc::Znwm, {OpNewLike, 1, 0, -1}}, // new(unsigned long)
59 {LibFunc::ZnwmRKSt9nothrow_t, {MallocLike, 2, 0, -1}}, // new(unsigned long, nothrow)
60 {LibFunc::Znaj, {OpNewLike, 1, 0, -1}}, // new[](unsigned int)
61 {LibFunc::ZnajRKSt9nothrow_t, {MallocLike, 2, 0, -1}}, // new[](unsigned int, nothrow)
62 {LibFunc::Znam, {OpNewLike, 1, 0, -1}}, // new[](unsigned long)
63 {LibFunc::ZnamRKSt9nothrow_t, {MallocLike, 2, 0, -1}}, // new[](unsigned long, nothrow)
64 {LibFunc::msvc_new_int, {OpNewLike, 1, 0, -1}}, // new(unsigned int)
65 {LibFunc::msvc_new_int_nothrow, {MallocLike, 2, 0, -1}}, // new(unsigned int, nothrow)
66 {LibFunc::msvc_new_longlong, {OpNewLike, 1, 0, -1}}, // new(unsigned long long)
67 …{LibFunc::msvc_new_longlong_nothrow, {MallocLike, 2, 0, -1}}, // new(unsigned long long, nothrow)
68 {LibFunc::msvc_new_array_int, {OpNewLike, 1, 0, -1}}, // new[](unsigned int)
69 {LibFunc::msvc_new_array_int_nothrow, {MallocLike, 2, 0, -1}}, // new[](unsigned int, nothrow)
70 {LibFunc::msvc_new_array_longlong, {OpNewLike, 1, 0, -1}}, // new[](unsigned long long)
71 …{LibFunc::msvc_new_array_longlong_nothrow, {MallocLike, 2, 0, -1}}, // new[](unsigned long long,…
72 {LibFunc::calloc, {CallocLike, 2, 0, 1}},
73 {LibFunc::realloc, {ReallocLike, 2, 1, -1}},
74 {LibFunc::reallocf, {ReallocLike, 2, 1, -1}},
75 {LibFunc::strdup, {StrDupLike, 1, -1, -1}},
76 {LibFunc::strndup, {StrDupLike, 2, 1, -1}}
133 LibFunc::Func TLIFn; in getAllocationData()
139 [TLIFn](const std::pair<LibFunc::Func, AllocFnsTy> &P) { in getAllocationData()
319 LibFunc::Func TLIFn; in isFreeCall()
324 if (TLIFn == LibFunc::free || in isFreeCall()
325 TLIFn == LibFunc::ZdlPv || // operator delete(void*) in isFreeCall()
326 TLIFn == LibFunc::ZdaPv || // operator delete[](void*) in isFreeCall()
327 TLIFn == LibFunc::msvc_delete_ptr32 || // operator delete(void*) in isFreeCall()
328 TLIFn == LibFunc::msvc_delete_ptr64 || // operator delete(void*) in isFreeCall()
329 TLIFn == LibFunc::msvc_delete_array_ptr32 || // operator delete[](void*) in isFreeCall()
330 TLIFn == LibFunc::msvc_delete_array_ptr64) // operator delete[](void*) in isFreeCall()
332 else if (TLIFn == LibFunc::ZdlPvj || // delete(void*, uint) in isFreeCall()
333 TLIFn == LibFunc::ZdlPvm || // delete(void*, ulong) in isFreeCall()
334 TLIFn == LibFunc::ZdlPvRKSt9nothrow_t || // delete(void*, nothrow) in isFreeCall()
335 TLIFn == LibFunc::ZdaPvj || // delete[](void*, uint) in isFreeCall()
336 TLIFn == LibFunc::ZdaPvm || // delete[](void*, ulong) in isFreeCall()
337 TLIFn == LibFunc::ZdaPvRKSt9nothrow_t || // delete[](void*, nothrow) in isFreeCall()
338 TLIFn == LibFunc::msvc_delete_ptr32_int || // delete(void*, uint) in isFreeCall()
339 TLIFn == LibFunc::msvc_delete_ptr64_longlong || // delete(void*, ulonglong) in isFreeCall()
340 TLIFn == LibFunc::msvc_delete_ptr32_nothrow || // delete(void*, nothrow) in isFreeCall()
341 TLIFn == LibFunc::msvc_delete_ptr64_nothrow || // delete(void*, nothrow) in isFreeCall()
342 TLIFn == LibFunc::msvc_delete_array_ptr32_int || // delete[](void*, uint) in isFreeCall()
343 TLIFn == LibFunc::msvc_delete_array_ptr64_longlong || // delete[](void*, ulonglong) in isFreeCall()
344 TLIFn == LibFunc::msvc_delete_array_ptr32_nothrow || // delete[](void*, nothrow) in isFreeCall()
345 TLIFn == LibFunc::msvc_delete_array_ptr64_nothrow) // delete[](void*, nothrow) in isFreeCall()