On Tue, May 28, 2019 at 11:06 AM 문지인 via llvm-dev <llvm-dev at
lists.llvm.org>
wrote:
> Dear All
>
>
>
> This is Zin.
>
> I want to do taint analysis using DFSan on 32bit platform(armv7/intel
> 32bit).
>
> But DFSan does not support 32bit arch. So i'm preparing a patch for
that.
>
> For 32bit, I have to set each address that is supported by the platform as
> variables.
>
>
>
> For define memory layout for 32bit arch, i refer to existed platform.
>
> I compared each variable value in Mapping struct for x86_64 in
> dfsan_platform.h with
> https://www.kernel.org/doc/Documentation/x86/x86_64/mm.txt file.
>
> According to kernel.org, the user area is 0x0000000000000000 to
> 0x00007fffffffffff.
> However, kAppAddr starts at 0x0000700000008000 in dfsan_platform.h.
>
>
>
> So i am confused by the difference between kernel.org and
> dfsan_platform.h.
>
> Is there my missing point?
>
> Please let me know what should i do to define memory layout. and which
> information helps me.
>
>
>
> Thanks
>
>
>
>
>
>
> <https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev>
If you can't send e-mail without this header (which is highly
inappropriate), you should use a non-corporate e-mail address.
-Shawn Landden
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20190528/a605b939/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noname
Type: image/gif
Size: 13402 bytes
Desc: not available
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20190528/a605b939/attachment.gif>