Skip to content

palepen/sylvan

Repository files navigation

Sylvan

An x86-64 debugger

Building from scratch

Prerequisites

  • Linux System (not sure if any linux specific things are used that aren't posix compliant)
  • GCC compiler (GNU extensions are used)
  • make

Dependencies Installation Guide

This project uses Zydis and Zycore for disassembly and utility functionality. Below are the instructions to set up these dependencies on common Linux distributions.


Fedora

You can install all required dependencies directly from the official Fedora repositories:

sudo dnf install \
    zydis-devel \
    zycore-c-devel \
    elfutils-libelf-devel \
    libdwarf-devel 

Ubuntu

Step 1: Install Required Tools and Libraries

sudo apt update
sudo apt install -y \
    build-essential \
    cmake \
    git \
    libelf-dev \
    libdwarf-dev

Step 2: Build and Install Zycore

git clone https://github.com/zyantific/zycore-c.git
cd zycore-c
mkdir build && cd build
cmake ..
make -j$(nproc)
sudo make install

Step 3: Build and Install Zydis

git clone https://github.com/zyantific/zydis.git
cd zydis
mkdir build && cd build
cmake ..
make -j$(nproc)
sudo make install

Step 4: Update the Linker Cache

sudo ldconfig

Setup and Execution

Build

make

Run

make run

or

./build/sylvan

Clean

make clean

Example Images

Normal Run

Normal Run

Help

help

Breakpoints

Breakpoints

Disassemble

disassemble

Memory Write

memory_write

Register Show

registers

Register Update

register change register change

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •