GithubHelp home page GithubHelp logo

Comments (5)

arizvisa avatar arizvisa commented on July 17, 2024

You can use func.within(ea) (just func.within() for current address).

Or I think you can use func.contains(function_ea, ea) where both parameters are the address you want to check..The semantics are read in your head like "Is ea in the function at function_ea."

from ida-minsc.

arizvisa avatar arizvisa commented on July 17, 2024

Maybe a better way to think about it is the database.functions namespace is actually for searching IDA's function list, similar to database.exports, and database.imports, etc. Then anything in database.* is for things specific to an address. Everything in function (or func) is then used for figuring out information related to your code being an actual function or not.

The segment (or seg) module has the same semantics for segment.contains and segment.within (although segment.within will always return true unless you give it an invalid address iirc).

from ida-minsc.

gool123456 avatar gool123456 commented on July 17, 2024

Thank you for solving my question perfectly !!!

from ida-minsc.

arizvisa avatar arizvisa commented on July 17, 2024

Awesome. hth. Can you close this issue since it's been answered?

from ida-minsc.

gool123456 avatar gool123456 commented on July 17, 2024

@arizvisa ok, but i can't close it

from ida-minsc.

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.