⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.91
Server IP:
157.245.101.34
Server:
Linux skvinfotech-website 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
modules
/
5.4.0-131-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' | tr A-Z a-z) if [ -z "$ksyms" ]; then exit 0 fi echo echo "ksymdeps_$1 := \\" for s in $ksyms do echo $s | sed -e 's:^_*: $(wildcard include/ksym/:' \ -e 's:__*:/:g' -e 's/$/.h) \\/' done echo echo "$1: \$(ksymdeps_$1)" echo echo "\$(ksymdeps_$1):"