Skip to content

Instantly share code, notes, and snippets.

View tesuji's full-sized avatar
πŸ¦€
...

tesuji

πŸ¦€
...
  • D28DBB1A0E26FEDA
View GitHub Profile
build/
    meson/
        liba/
            meson.build
        libb/
            meson.build
        meson.build
src/
    liba/

libb/

β”Œ (fcn) sym.check 127
β”‚ sym.check (char *s, int arg_ch);
β”‚ ; var char *local_dh @ ebp-0xd
β”‚ ; var unsigned int local_ch @ ebp-0xc
β”‚ ; var unsigned int local_8h @ ebp-0x8
β”‚ ; var int local_4h @ ebp-0x4
β”‚ ; arg char *s @ ebp+0x8
β”‚ ; arg int arg_ch @ ebp+0xc
β”‚ ; var char *format @ esp+0x4
β”‚ ; var int local_8h_2 @ esp+0x8
@tesuji
tesuji / README-Template.md
Created August 18, 2018 15:30 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@tesuji
tesuji / test1.py
Last active August 13, 2018 04:22
Python tutorial code for unicorn
#!/usr/bin/python
from unicorn import *
from unicorn.x86_const import *
# code to be emulated
X86_CODE32 = b"\x41\x4a" # INC ecx; DEC edx
# memory address where emulation starts
ADDRESS = 0x1000000
@tesuji
tesuji / Makefile
Last active August 13, 2018 04:25
C tutorial code for unicorn
CFLAGS += -Wall -Werror -Wno-unused-function -g
LDLIBS += -lrt -pthread
LDLIBS += -lunicorn
TESTS = test1
all: $(TESTS)
clean:
@tesuji
tesuji / bobp-python.md
Created June 20, 2018 17:40 — forked from sloria/bobp-python.md
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens

Linux kernel coding style

This is a short document describing the preferred coding style for the linux kernel. Coding style is very personal, and I won't force my views on anybody, but this is what goes for anything that I have to be able to maintain, and I'd prefer it for most other things too. Please at least consider the points made here.

@tesuji
tesuji / compiling_building_c_cpp_notes.md
Created May 10, 2018 05:21 — forked from gubatron/compiling_building_c_cpp_notes.md
Things to remember when compiling and linking C/C++ programs

Things to remember when compiling/linking C/C++ software

by Angel Leon. March 17, 2015.

Include Paths

On the compilation phase, you will usually need to specify the different include paths so that the interfaces (.h, .hpp) which define structs, classes, constans, and functions can be found.

With gcc and llvm include paths are passed with -I/path/to/includes, you can pass as many -I as you need.

In Windows, cl.exe takes include paths with the following syntax: /I"c:\path\to\includes\ you can also pass as many as you need.

@tesuji
tesuji / tmux-cheatsheet.markdown
Created May 9, 2018 18:00 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@tesuji
tesuji / gist:642d350fc17e3296921726e11112a2e5
Created May 9, 2018 15:47 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: