View Single Post
Old 03-13-2017, 08:05 PM   #16
Ksquared
Groupie
Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.
 
Ksquared's Avatar
 
Posts: 181
Karma: 2635236
Join Date: Jun 2015
Location: Cleveland, Ohio USA
Device: Original Kobo Aura 6", Libra H2O
Quote:
Originally Posted by GeoffR View Post
It is hard to know where to start really, if you don't know C/C++ and some variety of assembly language then there could be a lot to learn to get a real understanding how some of the more complicated patches work.

The basic tools to use are a hex editor for viewing data, and a disassembler for viewing code. You can look at the data/code before and after the patch has been applied to see exactly what it has done.

There is also another approach, using a debugger to watch the firmware live as it runs, but I am not familliar with how to do that.

I am using Linux, I use hexl-mode in Emacs as a hex editor and objdump from the binutils-multiarch package as a disassembler, mainly because that is what I am used to using for programming, but there are probbaly lots of other tools that will do a similar job.

I mainly used sites such as ARM assembler guide guide to learn about ARM assembly language.

If you want to start a thread to ask questions about particular subjects then I'd be happy answer them as best I can.
Thanks - I know some C#, am pretty proficient in VB - easier, than C of course. I will do some playing and if I have time to really learn I will start the thread.
Ksquared is offline   Reply With Quote