We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6be9a8f commit ce3ba2aCopy full SHA for ce3ba2a
arch/x86/include/asm/thread_info.h
@@ -163,7 +163,12 @@ struct thread_info {
163
* GOOD_FRAME if within a frame
164
* BAD_STACK if placed across a frame boundary (or outside stack)
165
* NOT_STACK unable to determine (no frame pointers, etc)
166
+ *
167
+ * This function reads pointers from the stack and dereferences them. The
168
+ * pointers may not have their KMSAN shadow set up properly, which may result
169
+ * in false positive reports. Disable instrumentation to avoid those.
170
*/
171
+__no_kmsan_checks
172
static inline int arch_within_stack_frames(const void * const stack,
173
const void * const stackend,
174
const void *obj, unsigned long len)
0 commit comments