rizin/librz
NOT XVilka 92972bcfb2
librz/arch/pdb: wire LF_BITFIELD members to the bitfield width (#6452)
Follow-up to the C bitfield support added in #6439 (#1240, #314): the PDB
type parser dropped struct/union bitfield members because an LF_BITFIELD
member type resolved to NULL in pdb_type_parse(), so "tc"/"ts"/"tp" on a
PDB-loaded type lost every bitfield field.

member_parse() now detects a TpiKind_BITFIELD field type, resolves the
member to the bitfield's underlying integer (base_type) and reports the
bit width (length) via an out-parameter. class_member_parse() and
union_member_parse() store it in RzTypeStructMember.size /
RzTypeUnionMember.size (the bitfield width in bits, 0 if not a bitfield),
matching the convention used by the C and DWARF member paths.

Update the PDB type expectations that previously asserted bitfield_typedef
had no members: db/cmd/cmd_idp (idpij) and db/tools/rz_bin (rz-bin -Pj)
now expect the three resolved "unsigned char" members of minimal.pdb.

Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2026-06-07 13:58:54 +08:00
..
arch librz/arch/pdb: wire LF_BITFIELD members to the bitfield width (#6452) 2026-06-07 13:58:54 +08:00
bin bin/elf: do not disassemble allocated string tables (.dynstr) as code (#6436) 2026-05-31 04:01:21 +08:00
config Add RzConfigValidator for validating (on set) owned variables (#6356) 2026-05-16 16:12:13 +02:00
cons librz/cons/histogram: revamp static horizontal histogram (#5290, #6372) (#6427) 2026-05-30 20:29:11 +08:00
core Bump project version to 25 due to asm.demangle removal (#6461) 2026-06-04 22:39:57 +08:00
crypto librz/bin: add CaRT container format support (#5964) 2026-03-07 20:51:50 +08:00
debug Reduce verbose error messages from unsupported native debugger (#6337) 2026-05-11 23:48:18 +08:00
demangler Fix demangler meson.build (#5942) 2026-02-19 16:40:13 +08:00
diff Implement special compare for bytes and always compare mem-aligned. 2026-06-01 01:45:59 +08:00
egg Fix egg context ownership as rz_egg_emit_t is static (#6463) 2026-06-06 09:49:34 +08:00
flag Fix aav.aav.* naming #2205 (#6079) 2026-03-29 17:49:04 +08:00
hash hash: add fnv1a algorithm (#6186) 2026-04-09 19:05:02 +08:00
il librz/util: shared Unicode subscript formatting for bit-vectors and floats (#6418) 2026-05-29 02:02:58 +08:00
include Fix egg context ownership as rz_egg_emit_t is static (#6463) 2026-06-06 09:49:34 +08:00
io Prevent RzBuffer's Oxff_priv from overriding io.0xff (#6371) 2026-05-27 06:18:45 +08:00
lang Remove static global variables from armass.c, rtr.c, rtr_http.c, and c.c (#6183) 2026-04-09 00:53:01 +08:00
magic Convert %ll format specifiers to PFMT64 (#6267) 2026-04-22 05:57:04 +08:00
main Remove asm.demangle (#6460) 2026-06-04 06:17:33 +08:00
mark Rename some rz_list funcs to rz_list_XXX_val (part 1) (#5671) 2025-12-25 22:01:49 +08:00
reg RzReg: Associate roles with RzRegItem instead of name strings (#6291) 2026-04-30 12:03:51 +02:00
search Use stdint types for ut64 and friends (#6276) 2026-04-22 21:43:04 +08:00
sign Convert %ll format specifiers to PFMT64 (#6267) 2026-04-22 05:57:04 +08:00
socket build: propagate OpenSSL in CMake exports (#6284) 2026-05-06 10:04:34 +00:00
syscall doc(syscall): improve README and add example (#5135) (#5619) 2025-12-15 14:02:55 +08:00
type type: add tk commands to list and manage typeclasses (#3381) 2026-06-02 13:43:11 +08:00
util Graph - (tiny) performance improvements (#6382) 2026-05-31 22:00:25 +00:00
meson.build build: propagate OpenSSL in CMake exports (#6284) 2026-05-06 10:04:34 +00:00
plugins.h.in
README.md
RizinConfig.cmake.in build: propagate OpenSSL in CMake exports (#6284) 2026-05-06 10:04:34 +00:00
RzModulesConfig.cmake.in build: propagate OpenSSL in CMake exports (#6284) 2026-05-06 10:04:34 +00:00

Rizin Libs (librz)

The Rizin framework is composed of several pieces that work together to provide a reverse-engineering framework useful for a variety of use-cases and tasks. All tools present in binrz are based on the libraries present in this directory, so getting a general idea of what these libraries are and do is key to navigate the codebase.