Break your BSD kernel
Fuzzing BSD kernel
#include <fcntl.h> | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <dirent.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/dirent.h> |
A bit in the page table that indicates the corresponding memory has been read or written. Usually set to 1 by hardware.
Advanced Configuration and Power Interface, a specification of industry-standard interfaces enabling OS-directed configuration and other management.
Advanced programmable interrupt controller (see specifications under the model numbers
"mmpg basic setup: | |
" Basic stuff, without that vim is huge security hole: | |
set exrc | |
set secure | |
" Basic Project guidelines: | |
" set tabstop=4 | |
" set softtabstop=4 | |
" set shiftwidth=4 |
#set -g default-terminal "xterm-256color" | |
# Tmux settings | |
# Set XTerm key bindings | |
setw -g xterm-keys on | |
# Set colors | |
set-option -g default-terminal "screen-256color" |
# General rules | |
.* | |
*.o | |
*.o.* | |
*.a | |
*.s | |
*.ko | |
*.so | |
*.so.dbg | |
*.mod.c |
Setting a bit
Use the bitwise OR operator (|) to set a bit.
number |= 1 << x;
That will set bit x.
Clearing a bit
Use the bitwise AND operator (&) to clear a bit.
#include <cstdio> | |
#include <iostream> | |
#include <algorithm> | |
#include <string> | |
#include <vector> | |
#include <string.h> | |
#include <strings.h> | |
#include <math.h> | |
#include <time.h> | |
#include <map> |