-
Notifications
You must be signed in to change notification settings - Fork 130
/
Copy pathvdso.h
27 lines (20 loc) · 773 Bytes
/
vdso.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
///////////////////////////////////////////////////////////////////////////////
// vdso.h - 2023
//
/// This module contains code to dump the vDSO symbol table
///
/// @file vdso.h
/// @author Mark Nelson <[email protected]>
/// @author Brooke Maeda <[email protected]>
///////////////////////////////////////////////////////////////////////////////
#include <elf.h> // For Elf64_Sym Elf64_Word
/// vDSO symbol table information
struct vdso_symtab {
Elf64_Sym* elf_symtab; ///< Symbol table
const char* elf_symstrtab; ///< String table
Elf64_Word* elf_hashtab; ///< Hash table
};
// Print the symbol table pointed to by `symtab`
void print_whole_symbol_table( struct vdso_symtab* symtab );
// Print out the symbol table
void dump_vDSO ( void );