Commit graph

898 commits

Author SHA1 Message Date
Rot127
964335bcf6
librz/bin/elf: Add R_PPC64_RELATIVE and R_PPC64_ADDR64. (#6058) 2026-03-21 13:50:43 +08:00
Ayush
33d0dcbeb2
Added iH header structure support for BIOS bin plugin (#5979) 2026-03-16 19:36:35 +08:00
Giovanni
d2494fac4a
librz/bin/{coff,ecoff}: fix various Coverity issues (#6023)
* Fix Coverity issues on ecoff
* Fix Alpha bitness
* Fix memleak in coff.c
* Fix tests
2026-03-13 00:44:59 +08:00
Giovanni
70fdd67278
Allow rizin tools to run as standalone binaries (#6011)
* Implement TOOL/ENVS/EXIT_STATUS for rz-test

* update readme
2026-03-11 16:24:23 +00:00
Ayush
5fab5584e2
librz/bin: add CaRT container format support (#5964)
* Add CaRT extractor plugin
* Update cmd_list expected output for CaRT extractor plugin

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-03-07 20:51:50 +08:00
مصطفي محمود كمال الدين
fe2891edb4
librz/bin/elf: use a macro that won't be removed in release builds (#5989) 2026-03-04 12:23:47 +08:00
Ayush
6880cb44f7
add iH support for for bf (#5943) 2026-03-02 16:44:26 +08:00
Giovanni
00fba1dd53
Add support to MIPS & Alpha ECOFF 32/64 (#5447) 2026-02-28 23:37:55 +08:00
مصطفي محمود كمال الدين
8d459b218d
librz/bin: fix patching relocations for RISC-V ELFs
* fix unused return value in patch_relocs_riscv and unreachable code in extension parser
2026-02-26 12:17:03 +08:00
Ayush
d6b5340cda
librz/bin: add iH header printing support for CGC format (#5962) 2026-02-25 21:12:40 +08:00
Giovanni
17e19ac887
Log an error when endianness change is not compatible with arch (#5945) 2026-02-23 11:06:41 +08:00
StefBisti
176c071603
Add amiga hunk format support (#5911) 2026-02-22 22:07:09 +08:00
Giovanni
7f55442dc2
Fix endianness issues on s390x (#5940)
* Refactor of bflt to guess arch & fix m68k code
* Fix endianness issues
* Always cleanup at the end on travis ci
2026-02-19 23:13:18 +08:00
Ayush
3db19a4c30
librz/bin/wasm: fix memory leaks. (#5941) 2026-02-19 12:03:46 +08:00
Giovanni
693dff153b
Move arch config into function (#5902) 2026-02-17 18:19:40 +08:00
مصطفي محمود كمال الدين
158765163a
librz/arch: rewrite the RISC-V support to use Capstone (#5482)
* remove GNU plugin and remove the pseudo-assembly test
* modernize Capstone-based RISC-V plugin and add huge test coverage
2026-02-17 03:35:37 +08:00
Giovanni
719e410593
Refactor of SMD format (#5929) 2026-02-16 22:07:10 +08:00
Giovanni
31d21ea2fe
Fix h8300 cpu detection (#5925) 2026-02-16 21:40:02 +08:00
Farhan Saiyed
3a68ec601d
librz/bin: PEF support (#5921) 2026-02-16 14:43:27 +08:00
Giovanni
18c2985d28
librz/bin: refactor GameBoy binary parser (#5926) 2026-02-16 02:37:20 +08:00
Farhan Saiyed
ae8e7115bc
librz/bin: add iH header structure for WASM format (#5914) 2026-02-15 21:44:58 +08:00
Jagath P
4dc8d92f5b
librz/bin: add iH header information to bFLT format (#5916) 2026-02-15 02:32:01 +08:00
Farhan Saiyed
bdfe92ad74
librz/bin: add header information iH support for DEX (#5903) 2026-02-14 16:46:50 +08:00
Ayush
12037d6530
librz/bin: implement iH header info for AVR (#5917) 2026-02-14 16:33:08 +08:00
Ayush
15c9c1d8f0
Implement iH command for header output of PYC format (#5895) 2026-02-13 00:38:33 +08:00
Farhan Saiyed
150545d476
Xbe structure (#5887) 2026-02-13 00:25:15 +08:00
well-mannered-goat
9140a66666
librz/bin/elf: refactor imports handling (#5851)
* Create ELF context
* Add MIPS GOT address field
* Add sections in ELF context
2026-02-11 02:42:38 +08:00
Anton Angelov
d68cb3db15
Warn if an input file can be opened by more than 1 bin plugin (#5894) 2026-02-10 23:20:18 +08:00
Khairul Azhar Kasmiran
2d49628aee
Remove rz_list_iter_get_data() (#5900)
* Remove rz_list_iter_get_data()
* Use rz_list_val() instead of rz_list_iter_get_data()
2026-02-10 22:03:37 +08:00
Giovanni
78574a1f2d
librz/bin: refactor bootimg to support v1-v4 structures. (#5897)
* Fixes and support for v0-v4 formats
* Remove useless check on omf
2026-02-10 02:10:22 +08:00
Khairul Azhar Kasmiran
f8aec15519
Rename rz_list_get() to rz_list_val() (#5896) 2026-02-09 22:47:57 +08:00
Giovanni
dfdd062f14
Rewrite of zImage bin parser & new structured data methods (#5893) 2026-02-09 19:00:42 +08:00
Farhan Saiyed
0c68d7e09f
librz/bin: iH structure for zimg format (#5883) 2026-02-08 14:42:20 +08:00
Anton Angelov
067e319bac
Use ht_xx_size() instead of reading ht internal state (#5885) 2026-02-07 16:17:18 +00:00
Farhan Saiyed
d3bd37bcfc
librz/bin: remove RZ_PACKED use from bin_bootimg.c (#5867) 2026-02-07 19:04:05 +08:00
Farhan Saiyed
0a8fe35163
librz/bin: iH structure for dol format (#5877) 2026-02-07 02:52:30 +08:00
AppleMangoOrange
e380a4489a
librz/bin: add relocations for AVR (#5790)
* Add relocation conversion for AVR
* Add relocation patching for AVR
* Add tests for AVR relocation
2026-02-06 21:55:22 +08:00
tnias
8a07e56526
Use .ARM.attributes section to improve asm.cpu autodetection (#5832)
* ARM: Add macros defining tags in the public attributes subsection

Each tag's value is defined as a null-terminated string or a
uleb128-encoded number. This info will be required while
searching for "TAG_CPU_ARCH" and "Tag_CPU_ARCH_PROFILE" in
the "ARM_TAG_FILE" sub-subsection.

* ARM: Add macros for ARM CPU arch version and profile
* Reference documentation as source for constants
* Add tests for ARM `asm.cpu`
2026-02-05 23:00:46 +08:00
Anton Kochkov
6cacb99e98 hppa: use capstone disassembler 2026-02-01 18:23:12 +08:00
well-mannered-goat
d0a0b6eab1
Add RzRelocBase field (#5799) 2026-01-29 16:02:13 +08:00
Giovanni
5b3d3c1e7d
Fix entrypoint, nomenclature & comments in bin_dol.c (#5840) 2026-01-25 19:29:31 +08:00
Farhanhusein Saiyed
77c02cb0a4
Remove RZ_PACKED from DOL parser (#5831) 2026-01-25 16:40:44 +08:00
Ayush
7d34c4d914
librz/bin: add structured data output for OMF format (iH) (#5781) 2026-01-24 00:33:59 +08:00
Khairul Azhar Kasmiran
07c3db05e2
Simplify rz_list_iter_get() to rz_list_get() (#5812) 2026-01-20 18:24:23 +08:00
Khairul Azhar Kasmiran
2fe648f541
Remove rz_list_iter_next() (#5809) 2026-01-17 17:14:24 +08:00
well-mannered-goat
5d688d799a
bin/elf: improve x86 family relocations handling (#5752)
* Patch more x86 relocations
* Add tests for x86 relocations
* Add handling and patching for more x86_64 relocations
2026-01-16 11:50:47 +08:00
Zapper9982
6918e510bd
Add GNS1 binary format loader for C4000 baseband firmware (#5628) 2026-01-15 08:48:45 +00:00
Giovanni
5e4078f5f5
Fix LE calling rz_bin_reloc_free when list values are LE_reloc (#5795)
* Fix LE calling rz_bin_reloc_free when list values are LE_reloc
* Fix type in descriptions
2026-01-14 23:18:19 +08:00
Khairul Azhar Kasmiran
24983985f3
rz_assert: Add rz_break_if_reached/fail() (#5769) 2026-01-11 10:07:37 +08:00
Giovanni
99b87b2023
Remove unused le_fixups (#5774)
* Remove unused le_fixups

* Fix missing free to list
2026-01-11 00:10:25 +00:00