Git Product home page Git Product logo

gdb-workshop-1's Introduction

GDB-Workshop

Oh no! Noah made some bugs while making this Twitter program! Help him fix them by using your newly acquired skills of GDB, Vim, and Valgrind.

  1. Whenever he tries to reply to a parent tweet, the program segfaults. Use GDB to try to find and fix the segfault.

  2. This program has memory leak! Use Valgrind to find what memory is leaking and try to fix it. You will only need to add a single line of code to fix the memory leak.

  3. Using Vim, switch the else if statements for input conditions 1 and 2 without going into insert mode. (Hint: use visual mode)

  4. And of course, I can't spell the word "coming." Using Vim, find and replace "comming" with "coming", while keeping your cursor on the first line.

gdb-workshop-1's People

Contributors

nalderto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.