21 lines · 900 B · Text
RawDownload
# SPDX-License-Identifier: GPL-2.0 ifdef CONFIG_GCC_PLUGIN_STACKLEAKkstack-erase-cflags-y += -fplugin=$(objtree)/scripts/gcc-plugins/stackleak_plugin.sokstack-erase-cflags-y += -fplugin-arg-stackleak_plugin-track-min-size=$(CONFIG_KSTACK_ERASE_TRACK_MIN_SIZE)kstack-erase-cflags-y += -fplugin-arg-stackleak_plugin-arch=$(SRCARCH)kstack-erase-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK_VERBOSE) += -fplugin-arg-stackleak_plugin-verboseDISABLE_KSTACK_ERASE := -fplugin-arg-stackleak_plugin-disableendif ifdef CONFIG_CC_IS_CLANGkstack-erase-cflags-y += -fsanitize-coverage=stack-depthkstack-erase-cflags-y += -fsanitize-coverage-stack-depth-callback-min=$(CONFIG_KSTACK_ERASE_TRACK_MIN_SIZE)DISABLE_KSTACK_ERASE  := -fno-sanitize-coverage=stack-depthendif KSTACK_ERASE_CFLAGS   := $(kstack-erase-cflags-y) export KSTACK_ERASE_CFLAGS DISABLE_KSTACK_ERASE KBUILD_CFLAGS += $(KSTACK_ERASE_CFLAGS)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t