Skip to content

Instantly share code, notes, and snippets.

View winterrdog's full-sized avatar
🏠
Busy busting SIGSEGV bugs

winterrdog winterrdog

🏠
Busy busting SIGSEGV bugs
  • No_such_file_or_directory
  • Earth realm
  • 09:07 (UTC +03:00)
View GitHub Profile
@winterrdog
winterrdog / syntax.s
Created January 7, 2022 15:13 — forked from mishurov/syntax.s
AT&T assembly syntax and IA-32 instructions
# --------
# Hardware
# --------
# Opcode - operational code
# Assebly mnemonic - abbreviation for an operation
# Instruction Code Format (IA-32)
# - Optional instruction prefix
# - Operational code
@winterrdog
winterrdog / bits.c
Created December 18, 2021 18:04 — forked from localvoid/bits.c
/*
* CSE 351 HW1 (Data Lab )
*
* Boris Kaul <[email protected]>
*
* bits.c - Source file with your solutions to the Lab.
* This is the file you will hand in to your instructor.
*
* WARNING: Do not include the <stdio.h> header; it confuses the dlc
* compiler. You can still use printf for debugging without including
@winterrdog
winterrdog / WaitCallback
Created December 15, 2021 18:37 — forked from alfarom256/WaitCallback
Runs code via WaitForThreadPoolWaitCallbacks
#include <windows.h>
#include <stdio.h>
#include <threadpoolapiset.h>
#define LEN 277
// run calc
unsigned char op[] =
"\xfc\x48\x83\xe4\xf0\xe8\xc0\x00\x00\x00\x41\x51\x41\x50\x52"
"\x51\x56\x48\x31\xd2\x65\x48\x8b\x52\x60\x48\x8b\x52\x18\x48"
@winterrdog
winterrdog / RC4.c
Last active December 1, 2021 09:01 — forked from rverton/RC4.c
swap using XOR operation
/*
robin verton, dec 2015
implementation of the RC4 algo
*/
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>