48 for (
i =
len - 2;
i >= 0;
i -= 2) {
62 if (ch >=
'a' && ch <=
'f') {
65 if (ch >=
'A' && ch <=
'F') {
68 if (ch >=
'0' && ch <=
'9') {
79 if (
i >= 0 &&
i <= 9) {
82 if (
i >= 10 &&
i <= 15) {
97 while (
i < (
len / 2)) {
114 while (
i < (
len * 2)) {
115 int val = (
src[
x] & 0xf0) >> 4;
124 unsigned char *data = (
unsigned char *)ptr;
136 *
c++ = (data[
x] >= 32 && data[
x] <= 127) ? data[
x] :
'.';
137 }
while (++
x % 16 &&
x <
len);
163 if (multiprocess && *
src ==
'p') {
165 if (!(ptr1 = strchr(
src,
'.'))) {
188 *tid = (
int)strtol(ptr1,
NULL, 16);
static static fork const void static count static fd const char const char static newpath char char char static envp time_t static t const char static mode static whence const char static dir time_t static t unsigned static seconds const char struct utimbuf static buf static inc pid
static const char hex[16]
RZ_API bool rz_str_startswith(RZ_NONNULL const char *str, RZ_NONNULL const char *needle)
Checks if a string starts with a specifc sequence of characters (case sensitive)
uint64_t unpack_uint64(char *buff, int len)
void hexdump(void *ptr, ut64 len, ut64 offset)
uint8_t cmd_checksum(const char *command)
uint64_t unpack_uint64_co(char *buff, int len)
int unpack_hex(const char *src, ut64 len, char *dst)
int write_thread_id(char *dest, int len, int pid, int tid, bool multiprocess)
int read_thread_id(const char *src, int *pid, int *tid, bool multiprocess)
int pack_hex(const char *src, ut64 len, char *dst)
ut64(WINAPI *w32_GetEnabledXStateFeatures)()