HPCToolkit
x86-linux-dlresolver.c File Reference
#include <string.h>
#include "x86-unwind-interval-fixup.h"
#include "x86-unwind-interval.h"
Include dependency graph for x86-linux-dlresolver.c:

Go to the source code of this file.

Functions

static int matches (char *ins, int len, const char *sig)
 
int x86_adjust_dl_runtime_resolve_unwind_intervals (char *ins, int len, btuwi_status_t *stat)
 

Variables

static char dl_runtime_resolve_signature_1 []
 
static char dl_runtime_resolve_signature_2 []
 

Function Documentation

◆ matches()

static int matches ( char *  ins,
int  len,
const char *  sig 
)
static

Definition at line 83 of file x86-linux-dlresolver.c.

Here is the caller graph for this function:

◆ x86_adjust_dl_runtime_resolve_unwind_intervals()

int x86_adjust_dl_runtime_resolve_unwind_intervals ( char *  ins,
int  len,
btuwi_status_t stat 
)

Definition at line 91 of file x86-linux-dlresolver.c.

Here is the call graph for this function:

Variable Documentation

◆ dl_runtime_resolve_signature_1

char dl_runtime_resolve_signature_1[]
static
Initial value:
= {
0x48, 0x83, 0xec, 0x78,
0x48, 0x89, 0x44, 0x24, 0x40,
0x48, 0x89, 0x4c, 0x24, 0x48,
0x48, 0x89, 0x54, 0x24, 0x50,
0x48, 0x89, 0x74, 0x24, 0x58,
0x48, 0x89, 0x7c, 0x24, 0x60,
0x4c, 0x89, 0x44, 0x24, 0x68,
0x4c, 0x89, 0x4c, 0x24, 0x70,
0x66, 0x0f, 0x1b, 0x04, 0x24,
0x66, 0x0f, 0x1b, 0x4c, 0x24, 0x10,
0x66, 0x0f, 0x1b, 0x54, 0x24, 0x20,
0x66, 0x0f, 0x1b, 0x5c, 0x24, 0x30,
0x48, 0x8b, 0xb4, 0x24, 0x80, 0x00, 0x00
}

Definition at line 53 of file x86-linux-dlresolver.c.

◆ dl_runtime_resolve_signature_2

char dl_runtime_resolve_signature_2[]
static
Initial value:
= {
0x48, 0x83, 0xec, 0x38,
0x48, 0x89, 0x04, 0x24,
0x48, 0x89, 0x4c, 0x24, 0x08,
0x48, 0x89, 0x54, 0x24, 0x10,
0x48, 0x89, 0x74, 0x24, 0x18,
0x48, 0x89, 0x7c, 0x24, 0x20,
0x4c, 0x89, 0x44, 0x24, 0x28,
0x4c, 0x89, 0x4c, 0x24, 0x30,
0x48, 0x8b, 0x74, 0x24, 0x40
}

Definition at line 70 of file x86-linux-dlresolver.c.