| 
	     You are here  | 
        ayende.com | ||
| | | | | 
            
              www.sektioneins.de
             | 
        |
| | | | | The DYLD_PRINT_TO_FILE environment variable can be used for local privilege escalation in OS X Yosemite. blockquote p, blockquote {font-family: monospace; font-size: 14px;} #imgtc {float: right; mar | |
| | | | | 
            
              fsharpforfunandprofit.com
             | 
        |
| | | | | How to make illegal states unrepresentable | |
| | | | | 
            
              blog.oddbit.com
             | 
        |
| | | | | Overview I was recently working with someone else's C source and I wanted to add some basic error checking without mucking up the code with a bunch of if statements and calls to perror. I ended up implementing a simple must function that checks the return value of an expression, and exits with an error if the return value is less than 0. You use it like this: must(fd = open("textfile.txt", O_RDONLY)); Or: | |
| | | | | 
            
              manybutfinite.com
             | 
        |
| | | Last week we looked at how the stack works and how stack frames are built during function prologues. Now it's time to look at the inverse process as stack frames are destroyed in function epilogues. | ||