MCPcopy Create free account
hub / github.com/beefytech/Beef / CvDupString

Method CvDupString

IDEHelper/COFF.cpp:663–670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661}
662
663const char* COFF::CvDupString(const char* str, int strLen)
664{
665 BP_ALLOC("CvDupString", strLen + 1);
666 char* dupStr = (char*)mAlloc.AllocBytes(strLen + 1, "CvParseAndDupString");
667 memcpy(dupStr, str, strLen);
668 dupStr[strLen] = 0;
669 return dupStr;
670}
671
672void COFF::CvParseArgList(DbgSubprogram* subprogram, int tagIdx, bool ipi)
673{

Callers

nothing calls this directly

Calls 1

AllocBytesMethod · 0.45

Tested by

no test coverage detected