This can only be done via emulator, e.g. qemu. Qemu can actually logs the content of each registers for every instruction execution just by adding "cpu" to option "-d". You don't need to change the kernel code itself. All you need to do is know about qemu.
Isa On Thu, May 9, 2013 at 8:50 AM, Emeric VIGIER <[email protected]>wrote: > Read and store each register after each processor instruction? Are you > kidding? Can you imagine the overhead this could ever bring to the normal > operation of the system? > > Emeric > Le 8 mai 2013 12:59, "Zhazira" <[email protected]> a écrit : > > I'm currently doing my master thesis. And my task is dynamically execute >> Android apps and monitor temporal Logic properties. >> >> What I want is to try to read all current register's values and their >> tags after every instruction execution and write to logs. Is it possible to >> change source code of Android? If so can you please give directions in >> which part of source code I should focus or how I can do it. I'm new in >> this topic and I already tried to look at Android source code, but not able >> to find out which part is responsible or handles each instruction execution. >> >> Please, could you help me with this? I would very much appreciate your >> help. >> >> -- >> -- >> unsubscribe: [email protected] >> website: http://groups.google.com/group/android-kernel >> --- >> You received this message because you are subscribed to the Google Groups >> "Android Linux Kernel Development" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > -- > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-kernel > --- > You received this message because you are subscribed to the Google Groups > "Android Linux Kernel Development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Isa Ansharullah aLab, inc. Tokyo, Shibuya-ku, Yoyogi 1-42-10 Brooklyn Court 2F -- -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel --- You received this message because you are subscribed to the Google Groups "Android Linux Kernel Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
