Source: https://people.csail.mit.edu/alinush/cse409-fall-2011/07-format-string-attacks.pdf