Code Monkey home page Code Monkey logo

emsys's Introduction

emsys's People

Contributors

benwiederhake avatar koehlma avatar s9meboeh avatar schwenger avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

benwiederhake

emsys's Issues

add a nice readme file

Add a nice README file containing at least:

  • a short description of what we did
  • the video part of the presentation as .gif

controller: split up god object [POSTMORTEM]

Currently, controller is a big agglomeration of nearly all other pieces. It's so confusing that I actually don't know whether it's meatball, hairball, or god-object.

Suggested approach:
No idea, but it might involve:

  • kicking approx, moderator, and IR-stab out of controller
  • merging TCE into victim finder
  • bundling TCE, VF, VD into a single "search" module
  • bundling PF and PE into a single "finder" module

tests/utils/space: use actual data [POSTMORTEM]

Process

Actual:

  • ask the user to run some scripts
  • ask the user to paste the output into space.c (alternatively: hope that it's fresh enough)
  • call make run-space, which does some sizeof magic on the pasted code

Expected:

  • call make run-space, which looks at the actual output produced by gcc-xc16 and somehow parse the elf / object files in some way

Accuracy:

Actual:

  • hope that the differences between the platforms aren't too big to disturb the result too greatly
  • hope that the regexes work perfectly (hint: they probably don't, given the amount of trickery and sheer length)
  • hope that there is no further padding going on

Expected:

  • the resulting byte count is identical to the amount used up by the .bss, .data, and specially aligned sections (e.g., _0xf6b9839857992879)
  • there are no hidden costs or over-estimations
  • even static allocations by libm and libc

Representation

Actual:

  • manual choice of "root objects":
    • Tin Bot library
    • tinpuck library
    • struct TinBot
    • struct Controller
    • struct BellmanFordState
  • manual, empiric thresholds
  • other than this manual "tree walking", flat lists of fields / variables

Expected:

  • tree-like approach: division by source folder, then file, then fields
  • automatic expansion of the most important points (should be similar to what I chose manually)
  • bonus points if interactive (but that's really not necessary)

Properly lock map when modifying [POSTMORTEM]

  • when computing a path to the victim, it's okay-ish to drop a single update
  • when computing the way out, we're the only one anyway
  • clearing the area "around" the goal might interfere with incoming map updates

Suggestion: implement some hal_{g,s}et_map_locked() such that T2T updates are dropped instead of potentially messing up everything.

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.