Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2024 16:06:53 -0700
From:      Alan Somers <asomers@freebsd.org>
To:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   KMSAN and dtrace
Message-ID:  <CAOtMX2i46vwjUD5=fJHe_PZM=ucw8HD9jZQfHvjcYqR1XF7p_A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Would it be possible to make dtrace with with KMSAN?  It would
certainly make my life easier.  As it is, every time I try to kldload
traceall, whether from the command line or in the loader, my VM
infinite loops printing alerts like this:

MSan: Uninitialized stack memory from isize64+0x2e
#0 0xffffffff833d8f10 at __msan_warning+0x140
#1 0xffffffff86ec9c03 at dtrace_disp_opnd+0xd3
#2 0xffffffff86ebe552 at dtrace_disx86+0xc602
#3 0xffffffff86eca98e at dtrace_instr_size+0xee
#4 0xffffffff86d5ec27 at fbt_provide_module_function+0x957
#5 0xffffffff83303eff at link_elf_each_function_nameval+0x56f
#6 0xffffffff86d56cb3 at fbt_provide_module+0x423
#7 0xffffffff86d56871 at fbt_linker_file_cb+0x41
#8 0xffffffff830d9f5c at linker_file_foreach+0xdc
#9 0xffffffff830d63dd at linker_load_module+0x413d
#10 0xffffffff830e6116 at linker_load_dependencies+0x1136
#11 0xffffffff853b70b8 at link_elf_load_file+0x65c8
#12 0xffffffff830d542e at linker_load_module+0x318e
#13 0xffffffff830e0611 at kern_kldload+0x5d1
#14 0xffffffff830e0d74 at sys_kldload+0x1a4
#15 0xffffffff84fe56f6 at amd64_syscall+0x706
#16 0xffffffff84f0ef4b at fast_syscall_common+0xf8



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2i46vwjUD5=fJHe_PZM=ucw8HD9jZQfHvjcYqR1XF7p_A>