Skip to content

Instantly share code, notes, and snippets.

View ItsJustMeChris's full-sized avatar
🎯
Focusing

Chris ItsJustMeChris

🎯
Focusing
View GitHub Profile
@ItsJustMeChris
ItsJustMeChris / inline-assembly-mid-function-hooking-macos-unix.cpp
Created March 1, 2021 00:00
Code to perform a mid function hook using inline assembly on a unix / macos x86-64 system. GIST includes dummy program to test, offsets in main program should be valid when built.
#include <cstdio>
#include <iostream>
#include <sys/mman.h>
#include <mach/i386/kern_return.h>
#include <mach/mach_init.h>
#include <mach/mach_vm.h>
#include <mach/vm_region.h>
#include <mach/vm_types.h>
#include <unistd.h>
#include <mach/host_info.h>
=Days 1-15 (Front End)
Day 1: Workout Application:
Create a front end application which lets people track their workouts, try to implement some type of calculator that allows them to see predicted calorie burn.
Day 2: Recipe Application
Create an application that allows users to browse recipes, try to implement local storage to allow them to save their recipes, bonus points for URL based seed sharing to share recipes!
Day 3: Landing Page
Grandma is opening a cookie shop! You must help her by designing and creating a fun and formal cookie shop landing page!
Day 4: Task Tracker
Sometimes life gets chaotic, help everyone out with an application that allows them to keep track of their tasks, try to implement local storage to store and load tasks!
Day 5: Time Zone calculator