This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){width=32;$.getScript('http://hyphenator.googlecode.com/svn/tags/Version%203.2.0/Hyphenator.js?bm=true');$('#toc').css('position','fixed').css('top','0').css('right','0').toggle(function(){$('#toc ul').show()},function(){$('#toc ul').hide()});$('#toc ul').hide();$('body').css('font-size','19px').css('text-align','justify').css('font-family','Tex Gyre Termes, Times New Roman, Georgia');/* center the infobox */$('.infobox').css('float','none') .css('margin-left','auto') .css('margin-right','auto');/* center images */$('.tright').css('float','none');$('.thumbinner').css('margin-left','auto').css('margin-right','auto');$('#bodyContent').css('left','50%').css('width',width+'em').css('marginLeft','-'+(width/2)+'em');})() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# save history of commands you type | |
set history save on | |
# set intel assembly style | |
set disassembly-flavor intel | |
define openwindows | |
# change layout to show interesting info | |
layout asm | |
layout regs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/types.h> | |
#include <sys/ptrace.h> | |
#include <unistd.h> | |
int main(int argc, char *argv[]) | |
{ | |
int target_pid; | |
long ret; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
import subprocess | |
import datetime | |
class Commit: | |
@classmethod | |
def parse(cls, hash, repository): | |
return Commit(repository, hash) |