1

Lets suppose I have a very big binary and I want to reverse just a part of this binary.

Is there a way to tell angr to start symbolic analysis at a given address ?

1 Answer 1

3

There sure is.

p = angr.Project("target_binary")
state = p.factory.blank_state(addr=0x400770)

I strongly recommend reading the State Presets section of the docs for more information. Crucially, all of the state preset constructors can take the addr argument; depending what you're doing, there may be a better preset to use than blank_state.

Further resources:

API docs

Examples from the angr team that include starting analysis at a specific address:

1
  • Okay thanks is there a way to say to angr i want to get a particular value at a given memory location ?
    – Bob5421
    Jan 15, 2019 at 11:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.