Git Product home page Git Product logo

sorebuilder's Introduction

So Rebuilder

This is a tool target at .so file repair, which section header has been damaged.

Temporarily support 32bits-so-file.

About this project

To rebuild the section header. I learning a way to rebuild by the information of segment and .dynamic section from ThomasKing's article https://bbs.pediy.com/thread-192874.htm .

Some reference articles I have placed in directory reference .

And my ideas and some basing knowledge have placed in directory thinking .

Some damaged so-file placed at test using for program testing.

Usage

You can run make command to compile this project. Then using ./sb -h to see the help.

The default compile environment is 32bits. If you want to compile 64bits version, you can run make v=64. What a shame that it doesn't support 64bits-so-file yet.

So Rebuilder  --Powered by giglf
usage: sb <file.so>
       sb <file.so> -o <repaired.so>

option: 
    -o --output <outputfile>   Specify the output file name. Or append "_repaired" default.
    -c --check                 Check the damage level and print it.
    -f --force                 Force to fully rebuild the section.
    -m --memso <baseAddr(hex)> Source file is dump from memory from address x(hex)
    -v --verbose               Print the verbose repair information
    -h --help                  Print this usage.
    -d --debug                 Print this program debug log.

The most common use is ./sb -c -d -v <file.so>. You can see all message output from repairing. The program may have bugs. Sometime it may have a wrong complete detection at damaged so-file. So I add a parameter. You can use -f or --force force to rebuild the so-file.

If you find some bugs or have some questions. Please contact me.

sorebuilder's People

Contributors

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