Giter Site home page Giter Site logo

backdoor-kaistgun's Introduction

IS-521 Activity 3

This repository is for my activity 3.

Two programs are executable.

  • test.mini - Refer to test.md
  • login.mini - Works as a login program given by pseudocode. backdoor can be added by interpreter.

Usage

I added my own script for convenience.

make 				         // compile
python execute.py [TESTCASE] // run

Running example

python execute.py test
python execute.py login
python execute.py backdoor

File history

Added

  • backdoor/interpreter.c : Add backdoor routine.
  • execute.py : A script for executing my program.
  • test/test.mini : My own program written in mini language.
  • test/test.md : Simple description for my program.
  • login/login.mini : Login program written in mini language.

Modified

  • compiler/compiler.ml : Add a gcd opcode.
  • interpreter/interpreter.c : Add function for opcodes.
  • Makefile : Add a set of rule to compile codes.

What I learned

I was able to learn how compiler works.

Without OS, I should manage all of memory spaces (Heap, Code, Reg etc.). It is very cumbersome.

I spent a lot of time in engineering to do this project,so I learned how I can reduce time for debugging, making bytecode efficiently.

backdoor-kaistgun's People

Contributors

oxsignal avatar philipaconrad avatar sangkilc avatar wseng avatar

Watchers

 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.