A simple C program:
int x = 10;
int y = 10;
if (x == y) {
x += 3;
else {
x -= 3;
A simple C program:
int x = 10;
int y = 10;
if (x == y) {
x += 3;
else {
x -= 3;
#include <stdio.h> | |
#include <stdbool.h> | |
struct exploitable { | |
char buf[10]; | |
bool p0wned; | |
int num; | |
}; | |
int main(void) { |
lu ~/t/games/Torchlight$ ./Torchlight.bin.x86_64 | |
Creating resource group General | |
Creating resource group Internal | |
Creating resource group Autodetect | |
SceneManagerFactory for type 'DefaultSceneManager' registered. | |
Registering ResourceManager for type Material | |
Registering ResourceManager for type Mesh | |
Registering ResourceManager for type Skeleton | |
MovableObjectFactory for type 'ParticleSystem' registered. | |
OverlayElementFactory for type Panel registered. |
Alle Seitenangaben sind jeweils für das Gesamtskript, welches mit
gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=mema.pdf mema_*.pdf
aus den Folien von Prof. Frank
zu erzeugen ist.
<configuration> | |
<dllmap os="linux" dll="opengl32.dll" target="libGL.so.1"/> | |
<dllmap os="linux" dll="glu32.dll" target="libGLU.so.1"/> | |
<dllmap os="linux" dll="openal32.dll" target="libopenal.so.1"/> | |
<dllmap os="linux" dll="alut.dll" target="libalut.so.0"/> | |
<dllmap os="linux" dll="opencl.dll" target="libOpenCL.so"/> | |
<dllmap os="osx" dll="openal32.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" /> | |
<dllmap os="osx" dll="alut.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" /> | |
<dllmap os="osx" dll="libGLES.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" /> | |
<dllmap os="osx" dll="libGLESv2.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" /> |
using System; | |
using System.Collections.Generic; | |
using Microsoft.Xna.Framework; | |
namespace Tiled.World { | |
public class Circle { | |
public Point Center; | |
public int Radius; | |
public Circle(Point center, int radius) { |
2: 0 0 | |
4: 5 5 | |
6: 5 5 | |
8: 3 3 | |
11: 5 5 | |
14: 5 5 | |
16: 0 0 | |
18: 0 0 | |
21: 1 0 | |
18:48:27.224 | main | INFO | model.Simulation >> Finished cycle 154 |