Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

KittyDisassembler

KittyDisassembler is a lightweight ELF file analyzer and disassembler written in C. It replicates some of the essential features of GNU objdump, such as viewing ELF headers, section headers, and disassembling binary code.

This tool is designed to help you understand the internal structure of ELF binaries and how disassembly works at a low level using only C and Capstone.


Requirements

To compile and run KittyDisassembler, you need:

  • A C compiler like gcc
  • Capstone disassembly engine

Install Capstone

On Debian/Ubuntu:

sudo apt update
sudo apt install libcapstone-dev

On Arch

sudo pacman -S capstone

On MacOs

brew install capstone

Compilation

gcc KittyDisassembler.c -o KittyDisassembler  -ljson-c -lcapstone

Usage

./kittyDisassembler [option] <ELF file>

Options

Option Description

-h Display ELF file headers (class, endian, OS/ABI, etc.)

-s Display section headers (name, type, address, offset, size, etc.)

-d Disassemble the .text section using Capstone

-all Display everything: headers, sections, and disassembly

For Any questions or idea contact me at maddie@transgender.dev

About

A basic disassembler like objdump in C for 64bits ELF files

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages