title: Call function in buffer overflow
body: <p>I'm learning about buffer overflows and found a challenge that has a program somewhat like this:</p>
  
  <pre><code>int main() {
      do_something()
      return 0;
  }
  
  void do_something() {
      //get inputs
      printf("Did something.");
  }
  
  void do_something_else() {
      printf("Did something else.")
  }
  </code></pre>
  
  <p>Assuming there was a buffer overflow in <code>do_something()</code>, how would I make it call the function <code>do_something_else()</code>?</p>