GithubHelp home page GithubHelp logo

tpham3783 / edkit Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.77 MB

embedded debugging Kit

License: MIT License

Makefile 0.85% HTML 0.08% JavaScript 51.43% CSS 0.10% Python 1.89% C++ 30.44% C 15.21%

edkit's Introduction

                                   ._______  __.__  __   
                          ____   __| _/    |/ _|__|/  |_ 
                        _/ __ \ / __ ||      < |  \   __\
                        \  ___// /_/ ||    |  \|  ||  |  
                         \___  >____ ||____|__ \__||__|  
                             \/     \/        \/         
                          =the embedded debugging Kit=


edKit is a set of tools to help debugging applications in embedded environments.

1- Building:
   1.1 - configuration

   For a simple configuration, just run the configure script:
   $> ./configure

   If cross-compilation is needed, then provide the type of the host where the
   binaries will be executed via the "host" option. for example on a mipsel
   target:
   $> ./configure --host=mipsel-linux-uclibc

   1.1- toolbox

   Toolbox is a set of classes used by all components. So it must be build
   before any other component.

   $> cd src/toolbox
   $> make

   1.2- edLeak

   edleak is the component that detects memory leaks. It is a shared library
   that must be preloaded in the target program.

   $> cd src/edleak
   $> make

2- Running:

   2.1- edleak

   To check memory leaks on "./my_target":

   $> LD_PRELOAD=edleak.so ./my_target

   Environment variables for configuration:
   - "edkit_fw_file": Set analysis filename (default is edleak.json)
   - "edkit_fw_period": Set slice dump period (default is 30s)

   If the target symbols names are not found by edleak, add "-export-dynamic" to
   the target linker options.

3- Analysing:

   3.1- html clients

   Html clients have been tested on opera, firefox, and chromium.
   Chromium must be run with the "allow-file-access-from-files" option:

   $> chromium-browser --allow-file-access-from-files

   3.2- edLeak

   - load "client/html/edleak/index.html" in your web browser.
   - load a json analysis file from the web interface.
   - watch the leaks.

edkit's People

Contributors

mainro avatar tpham3783 avatar

Watchers

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