zydis
radare2
Our great sponsors
zydis | radare2 | |
---|---|---|
4 | 9 | |
3,176 | 19,558 | |
2.0% | 1.2% | |
7.7 | 9.9 | |
8 days ago | 6 days ago | |
C | C | |
MIT License | GNU Lesser General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
zydis
-
Exploring x86-64 Instruction Encoding
You can visualize how instructions are encoded with zydisinfo. Pass in your architecture and the hex bytes of the instructions and it’ll show all relevant info
https://github.com/zyantific/zydis/tree/master
https://www.hexacorn.com/blog/2023/09/27/zydisinfo-the-disas...
- Zydis – Fast and lightweight x86/x86-64 disassembler and code generation library
- Zydis Disassembler Library - Release v3.2.0
-
Resources on building a disassembler/debugger(like gdb/IDA but better) in C ?
Start with a disassembler. Your first job is to parse out the binary format (ELF/PE/Mach-O) and get the raw bytes representing the machine code from the text section. You need to parse and decode them into actual instructions, and a disassembly framework like capstone or zydis or countless others can help interpret the bytes. At this point you now have a basic linear disassembly view (similar to objdump) of your compiled executable, and can continue to add features, like visualizing control flow, identifying functions, resolving strings and imports from the other sections, etc.
radare2
-
I'm pretty sure this is possible, and would appreciate confirmation/direction.
https://github.com/radareorg/radare2 (You can git clone it, then run the install script)
- Introducing YaRadare - YARA scanning for cloud-native apps (containers)
- Radare2 - UNIX-like reverse engineering framework and command-line toolset
-
reverse engineering/de-compiling (with radare2/r2)
Has any one had an luck reverse engineering Pebble binaries? Whilst I've had success editing js code in existing applications I've not had any luck with C code. This is not an area I have a lot of experience but it looks like the disassembly support in radare2 might not be complete. I've opened a ticket https://github.com/radareorg/radare2/issues/20002 but thought it worth posting here to see what experiences people had.
-
An lsblk like command for OpenBSD
Thanks this is helpful but I think this is just for programs integrated into the OpenBSD os. openbsd_lsblk is a standalone. I think their coding style is similar to the Linux Kernel coding style . but I contribute to project called radare2 (coding style) so I am used to programming their way (except for the space before () in functions that is quite annoying).
- rabin2 for scraping ELF to JSON
-
That took a wild turn
True story: there is a project called Radare2 (or r2) which recently has been forked as Rizin. The reasons for the fork were many, but one of the things they changed was renaming occurrences in code of words like "anal", "sex", etc.
-
[Task] Explain C source code
I need you to go through an open source project (https://github.com/radareorg/radare2). I need you to go through this file(https://github.com/radareorg/radare2/blob/master/libr/core/cmd_anal.c) and tell me what the code does. I am a bit rusty reading C source code, hence seeking help. Specifically, I need help understanding the following cases:
-
Need help interpreting this C function.
Defined here:
What are some alternatives?
capstone - Capstone disassembly/disassembler framework: Core (Arm, Arm64, BPF, EVM, M68K, M680X, MOS65xx, Mips, PPC, RISCV, Sparc, SystemZ, TMS320C64x, Web Assembly, X86, X86_64, XCore) + bindings. [Moved to: https://github.com/capstone-engine/capstone]
rizin - UNIX-like reverse engineering framework and command-line toolset.
cpufetch - Simple yet fancy CPU architecture fetching tool
flare-vm - A collection of software installations scripts for Windows systems that allows you to easily setup and maintain a reverse engineering environment on a VM.
flecs - A fast entity component system (ECS) for C & C++
Il2CppInspector - Powerful automated tool for reverse engineering Unity IL2CPP binaries
semblance - Disassembler for Windows executables. Supports 16-bit NE (New Executable), MZ (DOS), and PE (Portable Executable, i.e. Win32) files.
fadec - A fast and lightweight decoder for x86 and x86-64 and encoder for x86-64.
ret-sync - ret-sync is a set of plugins that helps to synchronize a debugging session (WinDbg/GDB/LLDB/OllyDbg2/x64dbg) with IDA/Ghidra/Binary Ninja disassemblers.
hdis86 - Haskell interface to the udis86 disassembler for x86 and x86-64 / AMD64
0x02-ARM-32-Hacking-Int - ARM 32-bit Raspberry Pi Hacking Int example in Kali Linux.