March 3, 2022 | 15:44

Hook Qt's QString using Frida

Recently, I wanted to understand what a Windows program built with Qt 4.7 is doing under the hood, in particular I investigated the use of the QString class. For that I used Frida to hook some of the classes methods. To get started, I created a simple program that makes use of the two methods fromAscii and append: #include <QString>#include <stdio.h>#include <Windows.h> int main() { int i = 1; while(1){ const char* str = "awesome"; QString qstr = QString::fromAscii(str); QString qstr2 = QString("string"); qstr. Read more

© Pavel Pi 2021

Powered by Hugo & Kiss'Em.