MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / getProgramFile

Function getProgramFile

src/plugins/reversedebug/reversedebuggermgr.cpp:137–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137static void getProgramFile(QString& linkname)
138{
139 FILE* pf = fopen(linkname.toLocal8Bit().data(), "rb");
140 if (pf) {
141 char exename[PATH_MAX] = {0};
142 fscanf(pf, "%s", exename);
143 fclose(pf);
144 linkname = QString::fromLocal8Bit(exename);
145 qDebug() << "get_program_file :" << linkname;
146 }
147}
148
149bool ReverseDebuggerMgr::replayMinidump(const QString &traceDir, int pid)
150{

Callers 1

replayMinidumpMethod · 0.85

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected