Giter VIP home page Giter VIP logo

strace's Introduction

strace

{EPITECH} | Second year | Unix porgraming - Instrumentation

strace traces a program in real time and displays all of the system calls it executes in their order of appearance.

Develop an alternative to strace that implementing the following options:

  • -p: force a specific PID instead of executing a command
  • -s: display the detailled arguments (see below).

By default, your strace must only display the arguments and return values in hexadecimal form. If the system call has a void return value, display a question mark. With -s option, your program must be as close as possible to the strace command on your system, and therefore display the following:

  • integers in decimal form,
  • pointers on a character string in the form of a character string,
  • detailed structures (value for each field).

See the subject for further details !

========================

Grade : A | Mark : 17.3

Category Percentage Tests Crash ?
Parameters 100% 2/2 x
Return value 100% 3/3 x
Rigour 100% 2/2 x
syscall name 100% 3/3 x
End score 100% 10/10 No

Made with Quentin TREHEUX (LuciferBahamut)

Beware of -42 Epitech students !!!

strace's People

Contributors

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