Code Monkey home page Code Monkey logo

dvjit's Introduction

DVJIT

Build Status

CS 263 Runtime Systems Project

Requirements

Everything has been tested and is known to work on Ubuntu 18.04 on an x86_64 processor.

$ sudo apt-get -y install flex bison make g++
$ sudo apt-get -y install python3-pip python3-setuptools
$ sudo -H python3 -m pip install wheel
$ sudo -H python3 -m pip install pwntools

Build

$ cd badlang
$ make clean
$ make

# Run unit-tests on every badlang file in the examples directory
$ make test

Execute

# Hello World
$ ./bin/badlang ../examples/hello_world.bad

# Shell Exploit
$ ./bin/badlang ../exploits/getshell/exploit.bad

Weekly Progress Log

Week of April 20th

  • Reviewed community & research literature, added to README

Week of April 27

  • Started language specs
  • Created 2 example exploits (pseudoscope, see BADLANG-drafting.md)
  • More paper reading & discussion

Week of May 4

  • Created src/ directory with asmjit, basic makefile
  • Add some debugging features to jit emitted code for ease of use
  • Add examples/

Week of May 11

  • Refactored code and rewrote Makefile
  • Created scanner and parser infrastructure for badlang
  • Working "fizzbuzz" example

Week of May 18

  • Inserted "Dictionary" type into badlang, supporting "get", "set", and iteration through "forkey"
  • Inserted "LeakJit" and "Jump" instructions
  • Wrote several test programs, including one that leaks a pointer
  • Made several quality-of-life improvements to the interpreter (ie the interpreter prints useful error messages instead of segfaulting)

Week of May 25

  • Made exploit script reliable by using internal AsmJit allocator instead of custom allocator.
  • Began project writeup.
  • Began project presentation.

dvjit's People

Contributors

robmcl4 avatar sidsenkumar11 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.