repr 0.1
Reconstructable string representations and more
Loading...
Searching...
No Matches
librepr::detail::msvc Namespace Reference

Classes

struct  SymLexer
 
struct  SymParser
 
struct  SymToken
 
struct  UndFreeFunctor
 
struct  UndStrategy
 

Typedefs

using uhalfptr_t = std::conditional_t< sizeof(void *)==8, std::uint32_t, std::uint16_t >
 
using ihalfptr_t = std::make_signed_t< uhalfptr_t >
 
using SymBuffer = StringBuffer
 
using UndAlloc = void *(__cdecl *)(unsigned int)
 
using UndFree = void(__cdecl *)(void *)
 
using UndHandle = std::unique_ptr< char[], UndFreeFunctor >
 

Functions

void *__cdecl malloc_bridge (unsigned int size)
 
char *__cdecl __unDName (char *buffer, const char *name, int buffer_size, UndAlloc allocator, UndFree _free, UndStrategy::Type flags)
 
LIBREPR_FORCE_INLINE char_unDName (const char *name, char *buffer, std::size_t buffer_size, UndStrategy::Type flags)
 
UndHandle unDName (const char *name, UndStrategy::Type flags)
 
void unDName (const char *name, DemangleBuffer &buffer, UndStrategy::Type flags)
 

Typedef Documentation

◆ ihalfptr_t

◆ SymBuffer

◆ uhalfptr_t

◆ UndAlloc

◆ UndFree

◆ UndHandle

Function Documentation

◆ __unDName()

char *__cdecl librepr::detail::msvc::__unDName ( char buffer,
const char name,
int  buffer_size,
UndAlloc  allocator,
UndFree  _free,
UndStrategy::Type  flags 
)

◆ _unDName()

LIBREPR_FORCE_INLINE char * librepr::detail::msvc::_unDName ( const char name,
char buffer,
std::size_t  buffer_size,
UndStrategy::Type  flags 
)

Bridge for invoking __unDName.

◆ malloc_bridge()

void *__cdecl librepr::detail::msvc::malloc_bridge ( unsigned int  size)
inline

◆ unDName() [1/2]

void librepr::detail::msvc::unDName ( const char name,
DemangleBuffer buffer,
UndStrategy::Type  flags 
)
inline

Writes demangled name directly to buffer.

◆ unDName() [2/2]

UndHandle librepr::detail::msvc::unDName ( const char name,
UndStrategy::Type  flags 
)
inline

Returns a managed handle to the demangled buffer.