Talvos  0.1
SPIR-V interpreter and dynamic analysis framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Namespaces | Functions
Utils.cpp File Reference

This file defines miscellaneous utilities used internally by libtalvos. More...

#include <cstdlib>
#include <cstring>
#include <iostream>

Go to the source code of this file.

Namespaces

 talvos
 

Functions

bool talvos::checkEnv (const char *Name, bool Default)
 Returns true if the environment variable Name is set to 1, false for 0, or Default if it is not set. More...
 
unsigned long talvos::getEnvUInt (const char *Name, unsigned Default)
 Returns the integer value for the environment variable Name, or Default if it is not set. More...
 

Detailed Description

This file defines miscellaneous utilities used internally by libtalvos.

Definition in file Utils.cpp.