This file contains hidden or 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
probe: probe.o makefile.linux | |
ld -o probe -e probe probe.o | |
probe.o: probe.asm makefile.linux | |
nasm -o probe.o -felf32 probe.asm | |
clean: | |
rm -f probe.o probe |
This file contains hidden or 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
.exports | |
.o | |
snequeil | |
.swp | |
*~ |
This file contains hidden or 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
CFLAGS=-g | |
SS=stackSmash | |
CC=clang -v | |
$(SS): $(SS).o | |
$(CC) $(CFLAGS) $(SS).o -o $(SS) | |
objdump -xtd ./$(SS) > $(SS).asm | |
.c.o: | |
$(CC) -c $< |
This file contains hidden or 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 <iostream> | |
#include <iomanip> | |
#include <cmath> | |
/* | |
* mvc++: cl /EHsc /nologo /GL /Ox pi.cpp /link /LTCG:status /LTCG | |
*/ | |
int main() { | |
const int ITER_MAX = 1000000; |
This file contains hidden or 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
/* | |
* basic opengl and windows integration | |
* see: http://www.opengl.org/archives/resources/faq/technical/gettingstarted.htm | |
* for the proper link flags | |
* Max DeLiso | |
*/ | |
#include <Windows.h> | |
#include <GL/gl.h> | |
#include <GL/glu.h> |

This file contains hidden or 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
/* | |
* Max DeLiso <[email protected]> | |
* 1/8/13 | |
* higher order functions and nested recursive lambdas in Scala | |
*/ | |
package lesson4 | |
object currying { |
This file contains hidden or 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
CFLAGS=-ansi -g | |
OUT=uniTSP | |
SRC=uniTSP.c | |
CC=gcc | |
RM=rm | |
$(OUT): $(SRC) | |
$(CC) $(SRC) $(CFLAGS) -o $(OUT) | |
clean: |
This file contains hidden or 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
/* | |
* PEB loader/parser. | |
* | |
* This program uses low level OS functionality to examine its | |
* own memory layout. Some structs were defined manually due | |
* to their absence in stanard windows header packages. | |
*/ | |
/* Turn off some unhelpful warnings */ | |
#pragma warning (disable: 4820 4668 4255) |
This file contains hidden or 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 <assert.h> | |
struct sList { | |
struct sList * next; | |
int data; | |
}; | |
struct sList* sList_new(); |