main is usually a function
char* main = "usually a programming blog";
Wednesday, September 17, 2014
Raw system calls for Rust
›
I wrote a small library for making raw system calls from Rust programs. It provides a macro that expands into in-line system call instructi...
459 comments:
Wednesday, August 27, 2014
Calling a Rust library from C (or anything else!)
›
One reason I'm excited about Rust is that I can compile Rust code to a simple native-code library, without heavy runtime dependencies, ...
243 comments:
Tuesday, February 11, 2014
x86 is Turing-complete with no registers
›
In which x86 has too many registers after all. Introduction The fiendish complexity of the x86 instruction set means that even bizarrely r...
753 comments:
Sunday, December 30, 2012
A shell recipe for backups with logs and history
›
I wrote a shell script for a cron job that grabs backups of some remote files. It has a few nice features: Output from the backup command...
106 comments:
Monday, December 17, 2012
Hex-editing Linux kernel modules to support new hardware
›
This is an old trick but a fun one. The ThinkPad X1 Carbon has no built-in Ethernet port. Instead it comes with a USB to Ethernet adapter...
153 comments:
Saturday, November 17, 2012
Attacking hardened Linux systems with kernel JIT spraying
›
Intel's new Ivy Bridge CPUs support a security feature called Supervisor Mode Execution Protection (SMEP). It's supposed to thwart...
548 comments:
Tuesday, September 18, 2012
Tracking down unused variables with Pyflakes and git bisect
›
I was working on a Python project when I noticed a variable that was defined but never used. Does this indicate that some important code was...
208 comments:
‹
›
Home
View web version