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
var ref = require("ref"); | |
var ffi = require("ffi"); | |
var libc = ffi.Library("libc", { | |
"mmap": ["pointer", ["pointer", "size_t", "int", "int", "int", "int64"]], | |
"munmap": ["int", ["pointer", "size_t"]], | |
}); | |
var PROT_READ = 1; | |
var PROT_WRITE = 2; |
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 <cstdio> | |
#include <vector> | |
#include <windows.h> | |
using namespace std; | |
class Buffer: public vector<unsigned char> | |
{ | |
public: | |
void push_dword(DWORD dw) |
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
/* | |
INPUT SAMPLE: | |
VAR NUMBER = 25 | |
VAR STRING = "ALEX" | |
VAR ERRO = "THAT's NOT CAUSE AN ERROR :)" | |
PRINT ERRO | |
PRINT "ALEXANDRE" | |
PRINT NUMBER |
NewerOlder