rizin/librz/util
Dhruv Maroo 87f889efa7 Fix conversion of 80-bit floats
* Add a new unit test for the same
2024-02-17 15:46:11 +08:00
..
float Fix conversion of 80-bit floats 2024-02-17 15:46:11 +08:00
ht Remove ../include/rz_util from rz_util_includes (#3935) 2023-10-22 19:38:56 +08:00
sdb Remove static and global variables in SDB (#4068) 2024-01-05 00:27:57 +08:00
alloc.c Move rz_mem_alloc() to rz_alloc.h (#3410) 2023-03-01 20:21:26 +08:00
annotated_code.c Remove dead code in RzUtil alloc 2023-03-01 11:12:03 +08:00
ascii_table.c
asn1.c Remove hidden static in rz_str_pad 2024-01-06 23:30:07 +08:00
asn1_oids.h Refactoring and rename RASN1 to RzASN1 2022-10-09 08:09:00 +08:00
assert.c
astr.c Refactoring and rename RASN1 to RzASN1 2022-10-09 08:09:00 +08:00
axml.c Convert from rz_str_new to rz_str_dup (#4178) 2024-02-07 00:07:53 +08:00
axml_resources.h Android Binary XML support (#18545) ##print 2022-06-06 14:35:25 +02:00
base85.c
base91.c
big-gmp.c
big-ssl.c
big.c
bitvector.c Adding missing operation in bitvector lib and core theory (#4078) 2024-01-08 23:10:14 +08:00
buf.c Load symbols in modules from PDB (#4025) 2023-12-10 14:14:14 +08:00
buf_bytes.c util/buf: avoid undefined behaviour when dealing with empty files 2023-04-05 17:15:52 +08:00
buf_file.c Coverity fixes - memory leaks, NULL dereferences (#3339) 2023-02-04 20:01:42 +08:00
buf_io.c io: return error when reading/writing to unmapped memory (#3323) 2023-02-11 11:36:27 +01:00
buf_io_fd.c
buf_mmap.c util: fix resize of mmap-ed files 2023-04-05 17:15:52 +08:00
buf_ref.c
buf_sparse.c Replaced 'assert()' with 'rz_return_val_if_fail()' (#3813) 2023-09-08 10:27:07 +08:00
calc.c
chmod.c Remove global in chmod.c 2024-01-06 23:30:07 +08:00
compression.c Fixing some Coverity issues (#3261) 2022-12-31 16:57:19 +08:00
debruijn.c Coverity fixes - memory leaks, NULL dereferences (#3339) 2023-02-04 20:01:42 +08:00
ebcdic.c
event.c Add /*<type>*/ comments everywhere (#2986) 2022-09-11 13:04:53 +08:00
file.c Make rz_file_path_join prepared for an empty string in the first arg 2023-08-03 15:35:25 +08:00
getopt.c
graph.c Add user pointer to RzListComparator (#4204) 2024-02-11 13:28:33 +08:00
graph_drawable.c Add (i)CFG node type annotations + bug fix (#4221) 2024-02-14 23:40:00 +08:00
hex.c Refactor pointer write command * to use the API (#3793) 2023-08-26 23:40:31 +08:00
idpool.c Remove RQueue (#2720) 2022-06-22 22:41:05 +08:00
intervaltree.c
iterator.c rzil: add analysis and evaluation integration test (#4241) 2024-02-16 21:10:44 +08:00
json_indent.c
json_parser.c RzUtil add new API 2023-08-25 23:32:05 +08:00
lang_byte_array.c Expand pc commands to accept size argument (#3738) 2023-08-10 22:55:25 +08:00
lib.c librz: do not duplicate plugins (#3313) 2023-01-23 12:51:09 +00:00
list.c Add user pointer to RzListComparator (#4204) 2024-02-11 13:28:33 +08:00
log.c Coverity fixes - memory leaks, UAFs (#3335) 2023-02-02 08:59:07 +08:00
luhn.c
mem.c Add analysis for Objective-C selector stubs 2023-03-21 19:33:49 +01:00
meson.build rzil: add analysis and evaluation integration test (#4241) 2024-02-16 21:10:44 +08:00
name.c
path.c build: Introduce EXTRA_PREFIX for loading plugins/resources from another path 2023-05-19 16:42:35 +02:00
pj.c Remove sdb json (#1118) 2022-07-12 22:48:33 +08:00
pkcs7.c Convert pF commands to the rzshell (#3071) 2022-10-09 19:18:05 +02:00
print.c util/print: emove cb_eprintf() (#4235) 2024-02-15 18:12:09 +08:00
protobuf.c Ownership and doxygen for rz_protobuf_decode 2022-10-09 08:09:00 +08:00
punycode.c
range.c Add user pointer to RzListComparator (#4204) 2024-02-11 13:28:33 +08:00
rbtree.c
README.md librz: add some initial documentation (#3782) 2023-10-13 13:46:19 +08:00
regex.c Fix doxygen for rz_regex_get_group_idx_by_name() 2024-02-16 16:57:31 +08:00
serialize_spaces.c
set.c Remove ../include/rz_util from rz_util_includes (#3935) 2023-10-22 19:38:56 +08:00
signal.c
skiplist.c Add user pointer to RzListComparator (#4204) 2024-02-11 13:28:33 +08:00
skyline.c
spaces.c
stack.c
str.c Convert pf commands to rzshell (#3467) 2024-02-16 10:30:59 +08:00
str_constpool.c
str_search.c Remove assert() calls (#4230) 2024-02-15 15:34:29 +08:00
str_trim.c Trim grep expression before processing it. (#4227) 2024-02-14 21:43:42 +08:00
strbuf.c RzStrBuf: remove weakref related code 2023-08-15 09:00:22 +08:00
strpool.c
subprocess.c Fix Coverity defects for RzSubprocess PTY changes (#3260) 2023-01-01 15:55:32 +08:00
sys.c Refactor how ASLR and implement rz_sys_execv using RzSubprocess (#4202) 2024-02-12 12:22:55 +08:00
syscmd.c Add user pointer to RzListComparator (#4204) 2024-02-11 13:28:33 +08:00
table.c Add user pointer to RzListComparator (#4204) 2024-02-11 13:28:33 +08:00
thread.c fix pointer casting to integer (#3532) 2023-05-28 19:22:29 +08:00
thread.h Refactor thread code and add RzThreadQueue (#2683) 2022-06-19 21:07:13 +08:00
thread_cond.c Refactor thread code and add RzThreadQueue (#2683) 2022-06-19 21:07:13 +08:00
thread_hash_table.c Add thread-safe hash tables (#3491) 2023-05-02 22:11:53 +08:00
thread_iterators.c Add threaded iterators (#3480) 2023-04-26 13:23:15 +08:00
thread_lock.c Refactor thread code and add RzThreadQueue (#2683) 2022-06-19 21:07:13 +08:00
thread_pool.c Remove rz_th_kill, rz_th_kill_free and rz_th_pool_kill (#2790) 2022-07-08 14:54:51 +02:00
thread_queue.c Add rz_th_queue_from_pvector to initialize a queue from a pvector (#4069) 2024-01-05 21:40:25 +08:00
thread_sem.c Refactor thread code and add RzThreadQueue (#2683) 2022-06-19 21:07:13 +08:00
thread_types.c Remove rz_th_kill, rz_th_kill_free and rz_th_pool_kill (#2790) 2022-07-08 14:54:51 +02:00
time.c Fix windows and cpp compatibility (#2887) 2022-08-08 17:57:30 +02:00
tree.c Remove RQueue (#2720) 2022-06-22 22:41:05 +08:00
ubase64.c librz: add nullable pointer modifier 2023-10-13 09:42:50 +08:00
uleb128.c
unum.c util: remove rz_num_get_name() 2023-08-11 19:00:56 +08:00
utf8.c Use clang-format 15 instead of 14 2023-01-25 22:02:26 +08:00
utf16.c Cleanup of utf8.c and utf16.c files. (#2715) 2022-06-21 12:12:48 +02:00
utf32.c
vector.c Fix Windows compilation warnings (#4209) 2024-02-12 14:28:04 +08:00
version.c Move gittip to share/rizin (#2907) 2022-08-11 23:13:38 +08:00
w32-sys.c
x509.c Refactoring and rename RASN1 to RzASN1 2022-10-09 08:09:00 +08:00
x509.h Refactoring and rename RASN1 to RzASN1 2022-10-09 08:09:00 +08:00

RzUtil

This library contains all common utilities and functions that are used by other modules in the Rizin framework, like string manipulation, data structures (lists, vectors, trees, etc.), JSON parsing/printing, and others.

What can I expect here?

  • Numbers/math functions
  • Functions likely needed across several other modules
  • Data structures: lists, vectors, trees, graphs, skiplist
  • RzBuffer
  • JSON parsing, JSON printing
  • PKCS7
  • BitVector
  • Functions that are very common and not specific to other modules
  • SDB
  • Floating point number operations
  • OS/Platform-independent abstractions for common operations (e.g. rename a file, create temporary file, etc.)