⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.160
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
modules
/
5.15.0-143-generic
/
build
/
scripts
/
View File Name :
gen_ksymdeps.sh
#!/bin/sh # SPDX-License-Identifier: GPL-2.0 set -e # List of exported symbols # # If the object has no symbol, $NM warns 'no symbols'. # Suppress the stderr. # TODO: # Use -q instead of 2>/dev/null when we upgrade the minimum version of # binutils to 2.37, llvm to 13.0.0. ksyms=$($NM $1 2>/dev/null | sed -n 's/.*__ksym_marker_\(.*\)/\1/p') if [ -z "$ksyms" ]; then exit 0 fi echo echo "ksymdeps_$1 := \\" for s in $ksyms do printf ' $(wildcard include/ksym/%s) \\\n' "$s" done echo echo "$1: \$(ksymdeps_$1)" echo echo "\$(ksymdeps_$1):"