MySQL 8.3.0
Source Code Documentation
build_id.cc File Reference
#include <assert.h>
#include <elf.h>
#include <link.h>
#include <stddef.h>
#include <stdio.h>
#include <string.h>

Classes

struct  callback_data
 
struct  elf_note
 

Typedefs

using elf_word = ElfW(Word)
 
using elf_note_struct = ElfW(Nhdr)
 

Functions

constexpr elf_word NOTE_ALIGN (elf_word sz)
 
static int build_id_callback (dl_phdr_info *info, size_t, void *data_)
 
bool my_find_build_id (char *dst)
 

Typedef Documentation

◆ elf_note_struct

using elf_note_struct = ElfW(Nhdr)

◆ elf_word

using elf_word = ElfW(Word)

Function Documentation

◆ build_id_callback()

static int build_id_callback ( dl_phdr_info *  info,
size_t  ,
void *  data_ 
)
static

◆ my_find_build_id()

bool my_find_build_id ( char *  dst)

◆ NOTE_ALIGN()

constexpr elf_word NOTE_ALIGN ( elf_word  sz)
constexpr