Skip to content

Instantly share code, notes, and snippets.

View basavesh's full-sized avatar
👨‍💻

Basavesh Ammanaghatta Shivakumar basavesh

👨‍💻
View GitHub Profile
@mikesmullin
mikesmullin / x86-assembly-notes.md
Last active July 18, 2024 01:57
Notes on x86-64 Assembly and Machine Code

Mike's x86-64 Assembly (ASM) Notes

Assembling Binary Machine Code

Operating Modes:

These determine the assumed/default size of instruction operands, and restricts which opcodes are available, and how they are used.

Modern operating systems, booted inside Real mode,

@MattPD
MattPD / analysis.draft.md
Last active July 18, 2024 21:09
Program Analysis Resources (WIP draft)
@pvdrz
pvdrz / main.rs
Created March 18, 2021 20:32
traverse function calls
// This is required to be able to use the rustc crates.
#![feature(rustc_private)]
// This is only required for the `rustc_*` crates. Regular dependencies can be used without it.
extern crate rustc_driver;
extern crate rustc_hir;
extern crate rustc_interface;
extern crate rustc_middle;
use rustc_driver::{catch_with_exit_code, Callbacks, Compilation, RunCompiler};