* Move binrz meson directives to binrz/ dir * Move rizin-shell-parser to a subproject * Move bochs to a meson subproject * Move rzqnx to meson subproject * Move winkd to a meson subproject * Move rzar to a meson subproject * Move rzw32dbg_wrap to a meson subproject * Move ptrace-wrap to a meson subproject * Move rzgdb to a meson subproject * Rename w32dbg_wrap to rzw32dbg_wrap * Update CODEOWNERS * Remove old references to shlr * Move shlr/heap stuff in core and remove shlr/arm * Move spp to a meson subproject * Remove last references to shlr * Remove use_webui option * Move include files directives to librz/include/meson.build * Move librz meson directives into librz/meson.build * Handle d/ directories inside the specific module meson.build * Move plugins listing to specific module meson.build * Move rzheap to its own subproject * Fix js linter and licenses * Use meson.override_dependency for all rz_ modules
22 lines
687 B
C
22 lines
687 B
C
// SPDX-FileCopyrightText: 2014 defragger <rlaemmert@gmail.com>
|
|
// SPDX-License-Identifier: LGPL-3.0-only
|
|
|
|
/*! \file */
|
|
#ifndef UTILS_H
|
|
#define UTILS_H
|
|
|
|
#include <stdint.h>
|
|
#include <stdio.h>
|
|
|
|
uint8_t cmd_checksum(const char *command);
|
|
uint64_t unpack_uint64(char *buff, int len);
|
|
uint64_t unpack_uint64_co(char *buff, int len);
|
|
int unpack_hex(const char *src, ut64 len, char *dst);
|
|
int pack_hex(const char *src, ut64 len, char *dst);
|
|
int hex2int(int ch);
|
|
int int2hex(int i);
|
|
void hexdump(void *ptr, ut64 len, ut64 offset);
|
|
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);
|
|
|
|
#endif
|