#include <iostream>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <QtCore>
#include "win_hdrs/win_types.h"
Go to the source code of this file.
|
bool | Logger::append (dbg_level lvl, const char *format,...) |
|
bool | pe_util::isPrintable (char c) |
|
bool | pe_util::isStrLonger (const char *inp, size_t maxLen) |
|
bool | pe_util::hasNonPrintable (const char *ptr, size_t maxInp) |
|
size_t | pe_util::getAsciiLen (const char *ptr, size_t maxCount, bool acceptNotTerminated=false) |
|
size_t | pe_util::getAsciiLenW (const WORD *ptr, size_t maxCount, bool acceptNotTerminated=false) |
|
size_t | pe_util::noWhiteCount (char *buf, size_t bufSize) |
|
size_t | pe_util::noWhiteCount (std::string) |
|
bool | pe_util::validateFuncName (const char *fPtr, size_t bufSize) |
|
size_t | pe_util::forwarderNameLen (const char *ptr, size_t max_len) |
|
void | pe_util::hexdump (BYTE *buf, size_t bufSize, size_t pad) |
|
size_t | pe_util::unitsCount (uint64_t value, uint64_t unit, bool roundup=true) |
|
uint64_t | pe_util::roundup (uint64_t value, uint64_t unit) |
|
bool | pe_util::isSpaceClear (void *ptr, uint64_t size) |
|
bool | pe_util::isHexChar (char c) |
|
bool | pe_util::endsWith (std::string string, std::string endStr) |
|
◆ DBG_LVL
◆ DEFAULT_BUFSIZE
#define DEFAULT_BUFSIZE 0xFF |
◆ IS_ENDLINE
Value:
Definition at line 12 of file Util.h.
◆ IS_PRINTABLE
#define IS_PRINTABLE |
( |
| c | ) |
|
Value:
Definition at line 11 of file Util.h.
◆ LOG
Value:if (
DBG_LVL) printf(
"%s: %s\n", __FUNCTION__,msg);
Definition at line 22 of file Util.h.
◆ TRACE
Value:if (
DBG_LVL) printf(
">%s line: %d [%s]\n", __FUNCTION__, __LINE__, __FILE__);
Definition at line 21 of file Util.h.