Code Monkey home page Code Monkey logo

gdbstub's Introduction

GDBStub

Attempt at implementing a gbd server for CpS 310 at BJU

Requirements

· Initial connect/handshake [C-level] -- Benjamin (FINISHED) · Implement CPU methods in handshake -- Benjamin (FINISHED) · Get/set general purpose registers [C] -- Daniel (FINISHED) · Get/set regions of memory [C] -- Daniel (FINISHED) · Single step/continue (execution faked at first, of course) [C] -- Benjamin (FINISHED) /Daniel(FINISHED) · Load new binary image [B-level] -- gdb will use mov commands instead if you reply with an empty packet.

· Set/clear software breakpoints [A-level] -- Daniel(FINISHED) /Benjamin (FINISHED) 1110,00010010, immed 19..8, 0111, immed 3..0 where immed is ignored by arm hardware but can be used by a debugger to store additional information about the breakpoint

All requirements are believed to have been completed.

Important notes.

The Mov command will give you a address in Hex, a length of data in hex and then hex data to be loaded.

Command Line Options: "--load fileName.exe" loads a file into RAM "--debug" makes the program listen on port 8080 for a connection from a gdb stub "--mem XXX" where XXX is any positive number less than 1 GB sets the size of memory to XXX "--test" runs the test cases.

gdbstub's People

Contributors

napoleenon avatar

Watchers

James Cloos avatar Daniel Recker 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.