Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - heder

Pages: [1]
1
Hi all, I need a debugger setup for debugging QEMU.

I never liked gdb text interface, it's rubbish! I'm used to work with Microsoft debugger for windows programs and Segger's Ozone debugger with the J-Trace PRO debugger for arm development, and nothing compares to this combo, tried many others, but the last combo for embedded is really power full. Here's an long list of visual frontends for GDB is long https://sourceware.org/gdb/wiki/GDB%20Front%20Ends but if you are used to working with said tools, you end up not debugging at all on QEMU, and qprintf becomes you best friend. But in 2020 (at work) we're started to use Visual GDB, a good alternative. It ain't free, but there's and 30 day free trail, and after that you'll need to pay 79€, that's cheap. It can be used with Microsofts free VS Community Edition.

How about this setup
* Microsofts free VS Community Edition.
* Visual GDB
* Ghidra (or IDA)
* QEMU (ML version)

Work flow

Ghidra (or IDA for that matter)
* Disassemble/analyze the camera ROM with Ghidra and let Ghdira auto name all function stubs & data
* Create a Ghidra script to perform advanced function renaming, auto rename function that has a DebugMsg(x,y,"[??] ...")
* Do you own renaming ...
* Use Ghidra2Dwarf to export symbol file


Scripts
* convert Ghidra text file into dwarf debugging file
* convert the camera ROM into a camera elf file
* inject the newly created dwarf file into camera elf file

QEMU
* run the camera elf file in QEMU

Visual GDB
* Connect to remote target
* Debug ...

Anyone tried this combo ? suggestion, ideas are welcome ..   


2
General Chat / Wikipedia just deleted
« on: April 23, 2020, 09:18:29 AM »
Wikipedia just deleted the best overview of canon eos products  >:(  Accordingly to wikipedia, it's a fan page. former url : https://en.wikipedia.org/wiki/Comparison_of_Canon_EOS_digital_cameras.

Any other alternatives (other than wayback mashine ?)

https://web.archive.org/web/20200411023301/https://en.wikipedia.org/wiki/Comparison_of_Canon_EOS_digital_cameras



3
General Development / armv7 simulator online - 01xz.net
« on: April 01, 2020, 10:53:46 AM »
I wish to share a homepage I recently found which is pretty cool. Its a complete online arm simulator, from a man called Henry Wong in Canada, I'm really impressed and the interface is really good. Those who want to learn armv7 assembly language (gnu-as) without setting up anything at all, or just for quick tryouts, tricks, hacks and similar, this is indded a good place to start.

https://cpulator.01xz.net/
https://cpulator.01xz.net/?sys=arm
https://www.01xz.net/wiki/Project:About


Pages: [1]