X7ROOT File Manager
Current Path:
/usr/src/kernels/3.10.0-957.10.1.el7.x86_64/scripts
usr
/
src
/
kernels
/
3.10.0-957.10.1.el7.x86_64
/
scripts
/
📁
..
📄
Kbuild.include
(10.25 KB)
📄
Lindent
(460 B)
📄
Makefile
(1.39 KB)
📄
Makefile.asm-generic
(684 B)
📄
Makefile.build
(15.91 KB)
📄
Makefile.clean
(3.23 KB)
📄
Makefile.fwinst
(2.03 KB)
📄
Makefile.headersinst
(4.72 KB)
📄
Makefile.help
(68 B)
📄
Makefile.host
(6.46 KB)
📄
Makefile.lib
(13.57 KB)
📄
Makefile.modbuiltin
(1.78 KB)
📄
Makefile.modinst
(1.16 KB)
📄
Makefile.modpost
(5.15 KB)
📄
Makefile.modsign
(1003 B)
📄
asn1_compiler
(22.39 KB)
📄
asn1_compiler.c
(33.97 KB)
📁
basic
📄
bloat-o-meter
(1.75 KB)
📄
bootgraph.pl
(5.62 KB)
📄
checkincludes.pl
(1.77 KB)
📄
checkkconfigsymbols.sh
(1.82 KB)
📄
checkpatch.pl
(101.34 KB)
📄
checkstack.pl
(5.33 KB)
📄
checksyscalls.sh
(5.64 KB)
📄
checkversion.pl
(1.86 KB)
📄
cleanfile
(3.41 KB)
📄
cleanpatch
(5.01 KB)
📄
coccicheck
(3.78 KB)
📁
coccinelle
📄
config
(3.65 KB)
📄
conmakehash
(10.22 KB)
📄
conmakehash.c
(6 KB)
📄
decodecode
(2.15 KB)
📄
depmod.sh
(1.67 KB)
📄
diffconfig
(3.54 KB)
📄
docproc.c
(13.69 KB)
📁
dtc
📄
export_report.pl
(4.53 KB)
📄
extract-ikconfig
(1.64 KB)
📄
extract-vmlinux
(1.6 KB)
📄
gcc-goto.sh
(465 B)
📄
gcc-version.sh
(822 B)
📄
gcc-x86_32-has-stack-protector.sh
(184 B)
📄
gcc-x86_64-has-stack-protector.sh
(200 B)
📄
gen_initramfs_list.sh
(7.38 KB)
📁
genksyms
📄
get_maintainer.pl
(54.11 KB)
📄
gfp-translate
(1.71 KB)
📄
headerdep.pl
(3.46 KB)
📄
headers.sh
(530 B)
📄
headers_check.pl
(3.6 KB)
📄
headers_install.sh
(1.28 KB)
📄
kallsyms
(14.46 KB)
📄
kallsyms.c
(16.52 KB)
📁
kconfig
📄
kernel-doc
(71.41 KB)
📁
ksymoops
📄
link-vmlinux.sh
(5.65 KB)
📄
makelst
(773 B)
📄
markup_oops.pl
(8.08 KB)
📄
mkcompile_h
(2.46 KB)
📄
mkmakefile
(1.17 KB)
📄
mksysmap
(1.32 KB)
📄
mkuboot.sh
(379 B)
📄
mkversion
(74 B)
📁
mod
📄
module-common.lds
(757 B)
📄
modules.order
(0 B)
📄
namespace.pl
(13 KB)
📁
package
📄
patch-kernel
(9.91 KB)
📄
pnmtologo
(14.24 KB)
📄
pnmtologo.c
(11.91 KB)
📄
profile2linkerlist.pl
(375 B)
📄
recordmcount
(18.34 KB)
📄
recordmcount.c
(12.4 KB)
📄
recordmcount.h
(16.34 KB)
📄
recordmcount.pl
(17.5 KB)
📁
rt-tester
📁
selinux
📄
setlocalversion
(3.94 KB)
📄
show_delta
(2.98 KB)
📄
sign-file
(12.16 KB)
📄
sortextable
(14.24 KB)
📄
sortextable.c
(7.41 KB)
📄
sortextable.h
(5.48 KB)
📄
tags.sh
(9.87 KB)
📁
tracing
📄
unifdef
(26.39 KB)
📄
unifdef.c
(34.8 KB)
📄
ver_linux
(3.09 KB)
📄
xz_wrap.sh
(562 B)
Editing: extract-vmlinux
#!/bin/sh # ---------------------------------------------------------------------- # extract-vmlinux - Extract uncompressed vmlinux from a kernel image # # Inspired from extract-ikconfig # (c) 2009,2010 Dick Streefland <dick@streefland.net> # # (c) 2011 Corentin Chary <corentin.chary@gmail.com> # # Licensed under the GNU General Public License, version 2 (GPLv2). # ---------------------------------------------------------------------- check_vmlinux() { # Use readelf to check if it's a valid ELF # TODO: find a better to way to check that it's really vmlinux # and not just an elf readelf -h $1 > /dev/null 2>&1 || return 1 cat $1 exit 0 } try_decompress() { # The obscure use of the "tr" filter is to work around older versions of # "grep" that report the byte offset of the line instead of the pattern. # Try to find the header ($1) and decompress from here for pos in `tr "$1\n$2" "\n$2=" < "$img" | grep -abo "^$2"` do pos=${pos%%:*} tail -c+$pos "$img" | $3 > $tmp 2> /dev/null check_vmlinux $tmp done } # Check invocation: me=${0##*/} img=$1 if [ $# -ne 1 -o ! -s "$img" ] then echo "Usage: $me <kernel-image>" >&2 exit 2 fi # Prepare temp files: tmp=$(mktemp /tmp/vmlinux-XXX) trap "rm -f $tmp" 0 # Initial attempt for uncompressed images or objects: check_vmlinux $img # That didn't work, so retry after decompression. try_decompress '\037\213\010' xy gunzip try_decompress '\3757zXZ\000' abcde unxz try_decompress 'BZh' xy bunzip2 try_decompress '\135\0\0\0' xxx unlzma try_decompress '\211\114\132' xy 'lzop -d' # Bail out: echo "$me: Cannot find vmlinux." >&2
Upload File
Create Folder