C x86-64

Open-source C projects categorized as x86-64

Top 23 C x86-64 Projects

  • Unicorn Engine

    Unicorn CPU emulator framework (ARM, AArch64, M68K, Mips, Sparc, PowerPC, RiscV, S390x, TriCore, X86)

    Project mention: Capstone Disassembler Framework | news.ycombinator.com | 2024-09-25

    If you find Capstone interesting, check out the Unicorn Engine.

    https://github.com/unicorn-engine/unicorn

    Also, if anyone is interested in an example of using capstone for basic disassembly and analysis, here is a link to my capstool project.

    https://github.com/alexander-hanel/capstool

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • capstone

    Capstone disassembly/disassembler framework for ARM, ARM64 (ARMv8), Alpha, BPF, Ethereum VM, HPPA, LoongArch, M68K, M680X, Mips, MOS65XX, PPC, RISC-V(rv32G/rv64G), SH, Sparc, SystemZ, TMS320C64X, TriCore, Webassembly, XCore and X86.

    Project mention: Capstone Disassembler Framework | news.ycombinator.com | 2024-09-25

    It just updated to the nearly latest LLVM, so that argument is void: https://github.com/capstone-engine/capstone/blob/next/docs/c...

  • zydis

    Fast and lightweight x86/x86-64 disassembler and code generation library

    Project mention: Exploring x86-64 Instruction Encoding | news.ycombinator.com | 2024-01-07

    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...

  • mir

    A lightweight JIT compiler based on MIR (Medium Internal Representation) and C11 JIT compiler and interpreter based on MIR

    Project mention: A tiny self-remaking C program | news.ycombinator.com | 2024-09-09
  • limine

    Modern, advanced, portable, multiprotocol bootloader and boot manager.

    Project mention: Limine: Legacy-free portable bootloader, supports both Linux and hobby kernels | news.ycombinator.com | 2024-07-15
  • mlibc

    Portable C standard library

    Project mention: Mlibc: A C Standard Library | news.ycombinator.com | 2024-08-28
  • opensmalltalk-vm

    Cross-platform virtual machine for Squeak, Pharo, Cuis, and Newspeak.

    Project mention: Cuis-Smalltalk | news.ycombinator.com | 2023-12-30
  • MazuCC

    A minimalist C compiler with x86_64 code generation

  • Tina

    Tina is a teeny tiny, header only, coroutine and job library.

  • cavOS

    ๐Ÿ’พ Amd64 operating system in C. Trying to make a full OS, with a simple and readable codebase!

  • xcc

    Standalone C compiler/assembler/linker/libc for x86-64/aarch64/riscv64/wasm

    Project mention: Show HN: Compiling C in the browser using WebAssembly | news.ycombinator.com | 2024-10-07

    Check out https://github.com/tyfkda/xcc, I've only used the native backend, but it's small and fast.

  • minias

    A mini x86-64 assembler for fun and learning.

  • SHA-Intrinsics

    SHA-1, SHA-256 and SHA-512 compression functions using Intel, ARMv8 and Power8 SHA intrinsics

  • fadec

    A fast and lightweight decoder for x86 and x86-64 and encoder for x86-64.

    Project mention: Weird things I learned while writing an x86 emulator | news.ycombinator.com | 2024-07-10

    Thanks for the pointer to QEMU's decoder! I actually never looked at it before.

    So you coded all the tables manually in C -- interesting, that's quite some effort. I opted to autogenerate the tables (and keep them as data only => smaller memory footprint) [1,2]. That's doable, because x86 encodings are mostly fairly consistent. I can also generate an encoder from it (ok, you don't need that). Re 'custom size "xh"': AVX-512 also has fourth and eighth. Also interesting that you have a separate row for "66+F2". I special case these two (CRC32, MOVBE) instructions with a flag.

    I think the prefix decoding is not quite right for x86-64: 26/2e/36/3e are ignored in 64-bit mode, except for 2e/3e as branch-not-taken/taken hints and 3e as notrack. (See SDM Vol. 1 3.3.7.1 "Other segment override prefixes (CS, DS, ES, and SS) are ignored.") Also, REX prefixes that don't immediately preceed the opcode (or VEX/EVEX prefix) are ignored. Anyhow, I need to take a closer look at the decoder with more time. :-)

    > For EVEX my plan is to keep the raw bits until after the opcode has been read

    I came to the same conclusion that this is necessary with APX. The map+prefix+opcode combination identifies how the other fields are to be interpreted. For AVX-512, storing the last byte was sufficient, but with APX, vvvv got a second meaning.

    > Nevertheless there are several cases in which the manual is wrong or doesn't say the whole story.

    Yes... especially for corner cases, getting real hardware is the only reliable way to find out, how the CPU behaves.

    [1]: https://github.com/aengelke/fadec/blob/master/instrs.txt

  • neatcc

    A small arm/x86(-64) C compiler

  • exectos

    ExectOS Operating System

    Project mention: ExectOS โ€“ brand new operating system which derives from NT architecture | news.ycombinator.com | 2024-06-19
  • JWasm

    Masm compatible assembler (by Baron-von-Riedesel)

  • MoonOS

    MoonOS (just a kernel atm) is a micro kernel designed for the x86_64 and arm architecure.

  • CSpydr

    A static typed low-level compiled programming language inspired by Rust and C

  • PBD

    ๐Ÿ–จ๏ธ๐Ÿž Printf Based Debugger, a user-friendly C debugger

  • kcs

    Scripting in C with JIT(x64)/VM.

  • kush-os

    the kool useful system helper โ€“ย a from-scratch hobby OS written in C++20

  • turnstone

    TURNSTONE: The fUnny opeRatiNg SysTem Of uNivErse

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C x86-64 discussion

Log in or Post with

C x86-64 related posts

Index

What are some of the best open-source x86-64 projects in C? This list will help you:

Project Stars
1 Unicorn Engine 7,534
2 capstone 7,525
3 zydis 3,402
4 mir 2,294
5 limine 1,813
6 mlibc 839
7 opensmalltalk-vm 557
8 MazuCC 515
9 Tina 264
10 cavOS 247
11 xcc 239
12 minias 201
13 SHA-Intrinsics 199
14 fadec 162
15 neatcc 154
16 exectos 112
17 JWasm 107
18 MoonOS 101
19 CSpydr 84
20 PBD 62
21 kcs 49
22 kush-os 14
23 turnstone 4

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you konow that C is
the 7th most popular programming language
based on number of metions?