Re: [PATCH v2 01/14] kasan: sw_tags: Use arithmetic shift for shadow computation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 27, 2025 at 1:33 PM Maciej Wieczor-Retman
<maciej.wieczor-retman@xxxxxxxxx> wrote:
>
> Btw just out of curiosity on the topic. If we used a runtime specified kasan
> offset, could the gdb script issue (not knowing the offset at compile-time) be
> fixed by just exporting the value through sysfs?
>
> I know that in inline mode the compiler would still need to know the offset
> value but I was curious if this approach was okay at least in outline mode?

I think this would work, assuming that GDB can pick it up from sysfs.





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux