Typedefs | Functions | Variables
demumble.cc File Reference
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <algorithm>
Include dependency graph for demumble.cc:

Go to the source code of this file.

Typedefs

typedef void(* free_func_t) (void *)
 
typedef void *(* malloc_func_t) (size_t)
 

Functions

char * __cxa_demangle (const char *mangled_name, char *buf, size_t *n, int *status)
 
char * __unDName (char *buffer, const char *mangled, int buflen, malloc_func_t memget, free_func_t memfree, unsigned short int flags)
 
static bool is_mangle_char_posix (char c)
 
static bool is_mangle_char_win (char c)
 
static bool is_plausible_itanium_prefix (char *s)
 
int main (int argc, char *argv[])
 
static void print_demangled (const char *s)
 
static void print_help (FILE *out)
 
static bool starts_with (const char *s, const char *prefix)
 

Variables

static char buf [8192]
 
const char kDemumbleVersion [] = "1.0.0.git"
 

Typedef Documentation

◆ free_func_t

typedef void(* free_func_t) (void *)

Definition at line 14 of file demumble.cc.

◆ malloc_func_t

typedef void*(* malloc_func_t) (size_t)

Definition at line 13 of file demumble.cc.

Function Documentation

◆ __cxa_demangle()

char* __cxa_demangle ( const char *  mangled_name,
char *  buf,
size_t *  n,
int status 
)

Definition at line 4927 of file cxa_demangle.cpp.

◆ __unDName()

char* __unDName ( char *  buffer,
const char *  mangled,
int  buflen,
malloc_func_t  memget,
free_func_t  memfree,
unsigned short int  flags 
)

Definition at line 1623 of file undname.c.

◆ is_mangle_char_posix()

static bool is_mangle_char_posix ( char  c)
static

Definition at line 56 of file demumble.cc.

◆ is_mangle_char_win()

static bool is_mangle_char_win ( char  c)
static

Definition at line 61 of file demumble.cc.

◆ is_plausible_itanium_prefix()

static bool is_plausible_itanium_prefix ( char *  s)
static

Definition at line 66 of file demumble.cc.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 76 of file demumble.cc.

◆ print_demangled()

static void print_demangled ( const char *  s)
static

Definition at line 41 of file demumble.cc.

◆ print_help()

static void print_help ( FILE *  out)
static

Definition at line 25 of file demumble.cc.

◆ starts_with()

static bool starts_with ( const char *  s,
const char *  prefix 
)
static

Definition at line 37 of file demumble.cc.

Variable Documentation

◆ buf

char buf[8192]
static

Definition at line 75 of file demumble.cc.

◆ kDemumbleVersion

const char kDemumbleVersion[] = "1.0.0.git"

Definition at line 23 of file demumble.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:10