Re: [PATCH 2/2] kcov: make kcov work properly with KASLR enabled

2017-01-26 Thread Quentin Casasnovas
On Mon, Dec 12, 2016 at 07:58:03AM +0100, Dmitry Vyukov wrote: > On Sun, Dec 11, 2016 at 10:37 PM, Alexander Popov > wrote: > > On 11.12.2016 12:32, Dmitry Vyukov wrote: > >> On Sun, Dec 11, 2016 at 1:50 AM, Alexander Popov > >> wrote: > >>> Subtract

Re: [PATCH 2/2] kcov: make kcov work properly with KASLR enabled

2017-01-26 Thread Quentin Casasnovas
On Mon, Dec 12, 2016 at 07:58:03AM +0100, Dmitry Vyukov wrote: > On Sun, Dec 11, 2016 at 10:37 PM, Alexander Popov > wrote: > > On 11.12.2016 12:32, Dmitry Vyukov wrote: > >> On Sun, Dec 11, 2016 at 1:50 AM, Alexander Popov > >> wrote: > >>> Subtract KASLR offset from the kernel addresses

Re: [PATCH 2/2] kcov: make kcov work properly with KASLR enabled

2016-12-11 Thread Dmitry Vyukov
On Sun, Dec 11, 2016 at 10:37 PM, Alexander Popov wrote: > On 11.12.2016 12:32, Dmitry Vyukov wrote: >> On Sun, Dec 11, 2016 at 1:50 AM, Alexander Popov >> wrote: >>> Subtract KASLR offset from the kernel addresses reported by kcov. >>> Tested on

Re: [PATCH 2/2] kcov: make kcov work properly with KASLR enabled

2016-12-11 Thread Dmitry Vyukov
On Sun, Dec 11, 2016 at 10:37 PM, Alexander Popov wrote: > On 11.12.2016 12:32, Dmitry Vyukov wrote: >> On Sun, Dec 11, 2016 at 1:50 AM, Alexander Popov >> wrote: >>> Subtract KASLR offset from the kernel addresses reported by kcov. >>> Tested on x86_64 and AArch64 (Hikey LeMaker). >>> >>>

Re: [PATCH 2/2] kcov: make kcov work properly with KASLR enabled

2016-12-11 Thread Alexander Popov
On 11.12.2016 12:32, Dmitry Vyukov wrote: > On Sun, Dec 11, 2016 at 1:50 AM, Alexander Popov wrote: >> Subtract KASLR offset from the kernel addresses reported by kcov. >> Tested on x86_64 and AArch64 (Hikey LeMaker). >> >> Signed-off-by: Alexander Popov

Re: [PATCH 2/2] kcov: make kcov work properly with KASLR enabled

2016-12-11 Thread Alexander Popov
On 11.12.2016 12:32, Dmitry Vyukov wrote: > On Sun, Dec 11, 2016 at 1:50 AM, Alexander Popov wrote: >> Subtract KASLR offset from the kernel addresses reported by kcov. >> Tested on x86_64 and AArch64 (Hikey LeMaker). >> >> Signed-off-by: Alexander Popov >> --- >> kernel/kcov.c | 8 +++- >>

Re: [PATCH 2/2] kcov: make kcov work properly with KASLR enabled

2016-12-11 Thread Dmitry Vyukov
On Sun, Dec 11, 2016 at 1:50 AM, Alexander Popov wrote: > Subtract KASLR offset from the kernel addresses reported by kcov. > Tested on x86_64 and AArch64 (Hikey LeMaker). > > Signed-off-by: Alexander Popov > --- > kernel/kcov.c | 8 +++- > 1 file

Re: [PATCH 2/2] kcov: make kcov work properly with KASLR enabled

2016-12-11 Thread Dmitry Vyukov
On Sun, Dec 11, 2016 at 1:50 AM, Alexander Popov wrote: > Subtract KASLR offset from the kernel addresses reported by kcov. > Tested on x86_64 and AArch64 (Hikey LeMaker). > > Signed-off-by: Alexander Popov > --- > kernel/kcov.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >

[PATCH 2/2] kcov: make kcov work properly with KASLR enabled

2016-12-10 Thread Alexander Popov
Subtract KASLR offset from the kernel addresses reported by kcov. Tested on x86_64 and AArch64 (Hikey LeMaker). Signed-off-by: Alexander Popov --- kernel/kcov.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/kernel/kcov.c b/kernel/kcov.c index

[PATCH 2/2] kcov: make kcov work properly with KASLR enabled

2016-12-10 Thread Alexander Popov
Subtract KASLR offset from the kernel addresses reported by kcov. Tested on x86_64 and AArch64 (Hikey LeMaker). Signed-off-by: Alexander Popov --- kernel/kcov.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/kernel/kcov.c b/kernel/kcov.c index 3cbb0c8..f8f3f4c 100644