]> git.siccegge.de Git - frida/frida.git/blobdiff - src/gui/widgets/BasicBlockWidget.cxx
Properly HTML Escape function names
[frida/frida.git] / src / gui / widgets / BasicBlockWidget.cxx
index f66a575167b83fb25d1cc12b4fd06d5975b583a0..1f34255343aafbf12d2d80c1e2d2169b83b31a87 100644 (file)
@@ -144,7 +144,7 @@ void BasicBlockWidget::addItem(uint8_t* bytes, size_t num_bytes,
                        Function* fun = block->getManager()->getFunction(address);
 
                        if (fun) {
-                               line = line.split(" ")[0] + " " + fun->getName().c_str();
+                               line = line.split(" ")[0] + " " + QString(fun->getName().c_str()).toHtmlEscaped();
                                LOG4CXX_DEBUG(logger, "Naming function at " << address << " " << fun->getName());
                        }
                }