Giter Site home page Giter Site logo

Comments (7)

tpetersonkth avatar tpetersonkth commented on July 1, 2024

I encountered the same problem. From my brief study of the code throwing the exception, it seems like the problem occurs because Jakstab assumes that the ELF binary must have a .dynamic and .plt section. However, not all ELF binaries have these section.

from jakstab.

1Husin-Alhaj avatar 1Husin-Alhaj commented on July 1, 2024

this issue is closed without providing any solution for the given problem!!!

from jakstab.

jkinder avatar jkinder commented on July 1, 2024

Fair - the problem persists. Feel free to submit a PR fixing it.

from jakstab.

1Husin-Alhaj avatar 1Husin-Alhaj commented on July 1, 2024

I have faced the same problem and I compiled a very tiny and simple c code file in Ubuntu using multiple ways but I always got the same error:

image

I tried to extract CFG for executable file, shared file, and object file ... but none of them worked

from jakstab.

jkinder avatar jkinder commented on July 1, 2024

@tpetersonkth seems to have pinpointed the issue in his comment above. You can try fixing it following the lead in his comment.

from jakstab.

tpetersonkth avatar tpetersonkth commented on July 1, 2024

@1Husin-Alhaj The version of Jakstab I used is available here: https://github.com/tpetersonkth/AlternatingControlFlowReconstruction/ in the Jakstab folder. This version is not much different from Kinder's version except that it adds under-approximation possibilities through extra command line options. I think the only fixes I did for this issue was to comment out some code in the ELFModule file. I am pretty sure that I did not do a proper fix though, that's why I didn't try to patch the official project. The changes made it work for binaries which didn't contain the missing sections mentioned in the error message.

You can try to see my changes in the ELFModule file or you can try to run the modified jakstab version I linked on your binaries directly. I think it should work.

from jakstab.

1Husin-Alhaj avatar 1Husin-Alhaj commented on July 1, 2024

SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to Ask
image

from jakstab.

Related Issues (8)

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.