Git Product home page Git Product logo

nm-objdump's Introduction

Hi there πŸ‘‹

I am Florent, born in the 2000s and grew up surrounded by technology. I am a Software Engineer at PlanetScale and a maintainer of the Vitess project.

I obtained my bachelor's degree of IT at EPITECH in 2020 and my master's degree of computer science at Tsinghua University in 2022.

你也可δ»₯ε’Œζˆ‘θ―΄δΈ­ζ–‡ :) !

nm-objdump's People

Contributors

frouioui avatar

Watchers

 avatar  avatar

nm-objdump's Issues

Execution of the file

Execute the given file

Way to do it:

  • Check if the given binary is correct
  • Check the architecture of the given binary
  • Store the address of the header section
  • Check if the given file is a static lib.
  • If the given file is a static lib then open each file inside
  • otherwise, open the given file
  • check it is not a folder

Execution :

  • Get all symbol
  • Execute all symbol

Display the helper

Display the helper if ever the "-h" or "--help" flag have been used.

The function checking if the helper is called could be placed right after the end of the argument parser (#1)

Open file and load into memory

Open the given file with nm_program->args.
Todo:

  • Handle error if the the given file doesn't exist

  • Load into the memory thanks to mmap

Argument parser

Parse all the argument and store them in a data structure

  • A, o, print-filename
  • a, debug-syms
  • n, v, numeric-sort
  • p, no-sort
  • r, reserve-sort
  • l, line-numbers
  • h
  • S
  • u, undefined-only
  • defined-only

And then get the file:

  • get filenames

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.