"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/dialogs/XrefsDialog.cpp" between
cutter-1.10.2.tar.gz and cutter-1.10.3.tar.gz

About: cutter is a Qt and C++ GUI for radare2 reverse engineering framework.

XrefsDialog.cpp  (cutter-1.10.2):XrefsDialog.cpp  (cutter-1.10.3)
skipping to change at line 126 skipping to change at line 126
} }
void XrefsDialog::updatePreview(RVA addr) void XrefsDialog::updatePreview(RVA addr)
{ {
TempConfig tempConfig; TempConfig tempConfig;
tempConfig.set("scr.html", true); tempConfig.set("scr.html", true);
tempConfig.set("scr.color", COLOR_MODE_16M); tempConfig.set("scr.color", COLOR_MODE_16M);
tempConfig.set("asm.lines", false); tempConfig.set("asm.lines", false);
tempConfig.set("asm.bytes", false); tempConfig.set("asm.bytes", false);
// Use cmd because cmRaw cannot handle the output properly. Why?
QString disas = Core()->cmd("pd--20 @ " + QString::number(addr)); QString disas = Core()->cmd("pd--20 @ " + QString::number(addr));
ui->previewTextEdit->document()->setHtml(disas); ui->previewTextEdit->document()->setHtml(disas);
// Does it make any sense? // Does it make any sense?
ui->previewTextEdit->find(normalizeAddr(RAddressString(addr)), QTextDocument ::FindBackward); ui->previewTextEdit->find(normalizeAddr(RAddressString(addr)), QTextDocument ::FindBackward);
ui->previewTextEdit->moveCursor(QTextCursor::StartOfLine, QTextCursor::MoveA nchor); ui->previewTextEdit->moveCursor(QTextCursor::StartOfLine, QTextCursor::MoveA nchor);
} }
void XrefsDialog::updateLabels(QString name) void XrefsDialog::updateLabels(QString name)
{ {
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)