Sha256: b8ee0e7e314cf9f2905c1c750cd6223aea554117fc2a2286784f914f21b0698d

Contents?: true

Size: 1.03 KB

Versions: 80

Compression:

Stored size: 1.03 KB

Contents

/*
wstring.h

diStorm3 - Powerful disassembler for X86/AMD64
http://ragestorm.net/distorm/
distorm at gmail dot com
Copyright (C) 2003-2016 Gil Dabah
This library is licensed under the BSD license. See the file COPYING.
*/


#ifndef WSTRING_H
#define WSTRING_H

#include "config.h"

#ifndef DISTORM_LIGHT

void strclear_WS(_WString* s);
void chrcat_WS(_WString* s, uint8_t ch);
void strcpylen_WS(_WString* s, const int8_t* buf, unsigned int len);
void strcatlen_WS(_WString* s, const int8_t* buf, unsigned int len);
void strcat_WS(_WString* s, const _WString* s2);

/*
* Warning, this macro should be used only when the compiler knows the size of string in advance!
* This macro is used in order to spare the call to strlen when the strings are known already.
* Note: sizeof includes NULL terminated character.
*/
#define strcat_WSN(s, t) strcatlen_WS((s), ((const int8_t*)t), sizeof((t))-1)
#define strcpy_WSN(s, t) strcpylen_WS((s), ((const int8_t*)t), sizeof((t))-1)

#endif /* DISTORM_LIGHT */

#endif /* WSTRING_H */

Version data entries

80 entries across 80 versions & 1 rubygems

Version Path
contrast-agent-7.6.1 funchook/distorm/src/wstring.h
contrast-agent-7.6.0 funchook/distorm/src/wstring.h
contrast-agent-7.5.0 funchook/distorm/src/wstring.h
contrast-agent-7.4.1 funchook/distorm/src/wstring.h
contrast-agent-7.4.0 funchook/distorm/src/wstring.h
contrast-agent-7.3.2 funchook/distorm/src/wstring.h
contrast-agent-7.3.1 funchook/distorm/src/wstring.h
contrast-agent-7.3.0 funchook/distorm/src/wstring.h
contrast-agent-7.2.0 funchook/distorm/src/wstring.h
contrast-agent-7.1.0 funchook/distorm/src/wstring.h
contrast-agent-7.0.0 funchook/distorm/src/wstring.h
contrast-agent-6.15.3 funchook/distorm/src/wstring.h
contrast-agent-6.15.2 funchook/distorm/src/wstring.h
contrast-agent-6.15.1 funchook/distorm/src/wstring.h
contrast-agent-6.15.0 funchook/distorm/src/wstring.h
contrast-agent-6.14.0 funchook/distorm/src/wstring.h
contrast-agent-6.13.0 funchook/distorm/src/wstring.h
contrast-agent-6.12.0 funchook/distorm/src/wstring.h
contrast-agent-6.11.0 funchook/distorm/src/wstring.h
contrast-agent-6.10.0 funchook/distorm/src/wstring.h