GithubHelp home page GithubHelp logo

Comments (5)

nihilus avatar nihilus commented on August 24, 2024

Nice catch!

from snowman.

nihilus avatar nihilus commented on August 24, 2024

Do you have the source code available as well???

from snowman.

yegord avatar yegord commented on August 24, 2024

While adding support for ARM, I had to get rid of the Return IR statement, because on ARM during IR generation it is not clear, what is a jump, and what is a return.
It seems, now I should get rid of the Call statement. :-)

from snowman.

jrmuizel avatar jrmuizel commented on August 24, 2024

int (*indirect_func)();

int indirect_call()
{
return indirect_func();
}

From: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40887

from snowman.

yegord avatar yegord commented on August 24, 2024

I added handling of this particular idiom in 13dea1e.
Ideally, all calls should be represented as ir::Jump, and the decompiler must decide himself, whether a jump is a jump, a call, or a return.
So far, I do not know how to do this.

from snowman.

Related Issues (20)

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.