GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Support Linux 6.1.42 · re100io/SKRoot-linuxKernelRoot@d86b2c6

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • patch_kernel_root
    • analyze_kernel.cpp
    • analyze_kernel.h
    • exe
      • patch_kernel_root.exe
    • kallsyms_lookup_name.cpp
    • kallsyms_lookup_name_4_6_0.cpp
    • kallsyms_lookup_name_6_1_42.cpp
    • kallsyms_lookup_name_6_1_42.h
    • kernel_symbol_parser.cpp
    • kernel_symbol_parser.h
    • patch_kernel_root.cpp
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎patch_kernel_root/analyze_kernel.cpp‎

Copy file name to clipboardExpand all lines: patch_kernel_root/analyze_kernel.cpp
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ KernelSymbolOffset AnalyzeKernel::get_symbol_offset() {
2828
bool AnalyzeKernel::find_symbol_offset() {
2929
m_kernel_sym_offset._text_offset = m_kernel_sym_parser.kallsyms_lookup_name("_text");
3030
m_kernel_sym_offset._stext_offset = m_kernel_sym_parser.kallsyms_lookup_name("_stext");
31+
m_kernel_sym_offset.panic_offset = m_kernel_sym_parser.kallsyms_lookup_name("panic");
3132
m_kernel_sym_offset.do_execve_offset = m_kernel_sym_parser.kallsyms_lookup_name("do_execve");
3233
m_kernel_sym_offset.do_execveat_offset = m_kernel_sym_parser.kallsyms_lookup_name("do_execveat");
3334
m_kernel_sym_offset.do_execveat_common_offset = m_kernel_sym_parser.kallsyms_lookup_name("do_execveat_common");
Collapse file

‎patch_kernel_root/analyze_kernel.h‎

Copy file name to clipboardExpand all lines: patch_kernel_root/analyze_kernel.h
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
struct KernelSymbolOffset {
77
size_t _text_offset = 0;
88
size_t _stext_offset = 0;
9+
size_t panic_offset = 0;
910
size_t do_execve_offset = 0;
1011
size_t do_execveat_offset = 0;
1112
size_t do_execveat_common_offset = 0;
Collapse file

‎patch_kernel_root/exe/patch_kernel_root.exe‎

Copy file name to clipboard
3.5 KB
Binary file not shown.
Collapse file

‎patch_kernel_root/kallsyms_lookup_name.cpp‎

Copy file name to clipboardExpand all lines: patch_kernel_root/kallsyms_lookup_name.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ bool KallsymsLookupName::init() {
7070

7171
size_t token_index_start = 0;
7272
if (!find_kallsyms_token_index(token_table_end, token_index_start)) {
73-
std::cout << "Unable to find the list of kallsyms token table" << std::endl;
73+
std::cout << "Unable to find the list of kallsyms token index" << std::endl;
7474
return false;
7575
}
7676
std::cout << std::hex << "kallsyms_token_index_start: 0x" << token_index_start << std::endl;
Collapse file

‎patch_kernel_root/kallsyms_lookup_name_4_6_0.cpp‎

Copy file name to clipboardExpand all lines: patch_kernel_root/kallsyms_lookup_name_4_6_0.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ bool KallsymsLookupName_4_6_0::init() {
8181

8282
size_t token_index_start = 0;
8383
if (!find_kallsyms_token_index(token_table_end, token_index_start)) {
84-
std::cout << "Unable to find the list of kallsyms token table" << std::endl;
84+
std::cout << "Unable to find the list of kallsyms token index" << std::endl;
8585
return false;
8686
}
8787
std::cout << std::hex << "kallsyms_token_index_start: 0x" << token_index_start << std::endl;

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.