Debugging applications on TV
Posted: Tue Feb 18, 2014 3:48 pm
Hello, I've read some articles like viewtopic.php?f=63&t=6186 and viewtopic.php?f=52&t=5555&hilit=gdb from forum, actually I found one more article http://cansecwest.com/slides/2013/Smart ... curity.pdf.
I'm interested in debugging applications on smart tv. The goal is to find some possibility to launch my code on the future firmwares after they will update them. I want to investigate modules by my own. Actually I'm a newbie and I have no idea how to debug the code on my tv.
Of course, I know about arm architecture, about such tools like ida and gdb, I have some experience in reversing on windows, but I'm not familiar with linux OS architecture, and I have a problem with debugging. Where can I read something about building the debugging environment for smart tv?
It would be great to read about OS, installed on tv. Actually, I guessed the gdb/gdbserver have some troubles with debugging, but I have some stupid questions before I started the debugging.
1. How to build gdbserver for my tv?
2. How can I change the network setting to enable remote debugging?
3. Where I can find some manuals about dlopen() or mprotect()? I see they are API functions, but to build modules to use them?
4. What is the idea of hijacking modules?
I understand, that the questions are not so easy but I will be happy to see any suggestions, useful links to articles and books, and some advice. I don't want to get tools, I just want to get knowledge to make such tools by myself.
I'm interested in debugging applications on smart tv. The goal is to find some possibility to launch my code on the future firmwares after they will update them. I want to investigate modules by my own. Actually I'm a newbie and I have no idea how to debug the code on my tv.
Of course, I know about arm architecture, about such tools like ida and gdb, I have some experience in reversing on windows, but I'm not familiar with linux OS architecture, and I have a problem with debugging. Where can I read something about building the debugging environment for smart tv?
It would be great to read about OS, installed on tv. Actually, I guessed the gdb/gdbserver have some troubles with debugging, but I have some stupid questions before I started the debugging.
1. How to build gdbserver for my tv?
2. How can I change the network setting to enable remote debugging?
3. Where I can find some manuals about dlopen() or mprotect()? I see they are API functions, but to build modules to use them?
4. What is the idea of hijacking modules?
I understand, that the questions are not so easy but I will be happy to see any suggestions, useful links to articles and books, and some advice. I don't want to get tools, I just want to get knowledge to make such tools by myself.