How can I enhance a function to trac kernel instructions ?

15 views
Skip to first unread message

Jack

unread,
Mar 24, 2010, 6:26:49 AM3/24/10
to ether-devel
Dear all,

Can I implement a function to trace the instructions not only user
mode instructions but also kernel mode instructions?

I saw a little hint in ether.c : 402 - > /* ignore kernel instructions
by default */
Then I tried to mark the original " if " function and use the old if
decision code. ( if(real_rip !=0) )

But I still trace the user mode instructions only.

Can anyone give me any advices?

thanks

Best regards,

Jack

Danny Quist

unread,
Mar 25, 2010, 12:25:35 AM3/25/10
to ether...@googlegroups.com
If you're going to look at this, I would first try modifying the user code.

Danny

To unsubscribe from this group, send email to ether-devel+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

Jack

unread,
Mar 25, 2010, 9:06:13 AM3/25/10
to ether-devel
I've modified the user code and kernel code, and I can get the all the
instruction addresses (not only in the target based range) now.
By the way, I am going to try to get more user mode information for
the next steps.

thanks,

Jack

> > ME" as the subject.- 隱藏被引用文字 -
>
> - 顯示被引用文字 -

Reply all
Reply to author
Forward
0 new messages