Re: Detecting kprobes generated code addresses

2016-12-25 Thread Masami Hiramatsu
On Sun, 25 Dec 2016 15:16:00 +0900 Masami Hiramatsu wrote: > On Sun, 25 Dec 2016 12:13:20 +0900 > Masami Hiramatsu wrote: > > > On Thu, 22 Dec 2016 00:42:19 -0600 > > Josh Poimboeuf wrote: > > > > > Hi Masami, > > > > > > I

Re: Detecting kprobes generated code addresses

2016-12-25 Thread Masami Hiramatsu
On Sun, 25 Dec 2016 15:16:00 +0900 Masami Hiramatsu wrote: > On Sun, 25 Dec 2016 12:13:20 +0900 > Masami Hiramatsu wrote: > > > On Thu, 22 Dec 2016 00:42:19 -0600 > > Josh Poimboeuf wrote: > > > > > Hi Masami, > > > > > > I would like to make __kernel_text_address() be able to detect

Re: Detecting kprobes generated code addresses

2016-12-24 Thread Masami Hiramatsu
On Sun, 25 Dec 2016 12:13:20 +0900 Masami Hiramatsu wrote: > On Thu, 22 Dec 2016 00:42:19 -0600 > Josh Poimboeuf wrote: > > > Hi Masami, > > > > I would like to make __kernel_text_address() be able to detect whether > > an address belongs to code

Re: Detecting kprobes generated code addresses

2016-12-24 Thread Masami Hiramatsu
On Sun, 25 Dec 2016 12:13:20 +0900 Masami Hiramatsu wrote: > On Thu, 22 Dec 2016 00:42:19 -0600 > Josh Poimboeuf wrote: > > > Hi Masami, > > > > I would like to make __kernel_text_address() be able to detect whether > > an address belongs to code which was generated by kprobes. As far as I >

Re: Detecting kprobes generated code addresses

2016-12-24 Thread Masami Hiramatsu
On Thu, 22 Dec 2016 00:42:19 -0600 Josh Poimboeuf wrote: > Hi Masami, > > I would like to make __kernel_text_address() be able to detect whether > an address belongs to code which was generated by kprobes. As far as I > can tell, that information seems to be in the 'pages'

Re: Detecting kprobes generated code addresses

2016-12-24 Thread Masami Hiramatsu
On Thu, 22 Dec 2016 00:42:19 -0600 Josh Poimboeuf wrote: > Hi Masami, > > I would like to make __kernel_text_address() be able to detect whether > an address belongs to code which was generated by kprobes. As far as I > can tell, that information seems to be in the 'pages' lists of >

Detecting kprobes generated code addresses

2016-12-21 Thread Josh Poimboeuf
Hi Masami, I would like to make __kernel_text_address() be able to detect whether an address belongs to code which was generated by kprobes. As far as I can tell, that information seems to be in the 'pages' lists of kprobe_insn_slots and kprobe_optinsn_slots. But they seem to be protected by

Detecting kprobes generated code addresses

2016-12-21 Thread Josh Poimboeuf
Hi Masami, I would like to make __kernel_text_address() be able to detect whether an address belongs to code which was generated by kprobes. As far as I can tell, that information seems to be in the 'pages' lists of kprobe_insn_slots and kprobe_optinsn_slots. But they seem to be protected by

Detecting kprobes generated code addresses

2016-12-21 Thread Josh Poimboeuf
Hi Masami, I would like to make __kernel_text_address() be able to detect whether an address belongs to code which was generated by kprobes. As far as I can tell, that information seems to be in the 'pages' lists of kprobe_insn_slots and kprobe_optinsn_slots. But they seem to be protected by

Detecting kprobes generated code addresses

2016-12-21 Thread Josh Poimboeuf
Hi Masami, I would like to make __kernel_text_address() be able to detect whether an address belongs to code which was generated by kprobes. As far as I can tell, that information seems to be in the 'pages' lists of kprobe_insn_slots and kprobe_optinsn_slots. But they seem to be protected by