Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functionality to add new sections to the binary #7

Open
ancat opened this issue Jan 6, 2014 · 2 comments
Open

Add functionality to add new sections to the binary #7

ancat opened this issue Jan 6, 2014 · 2 comments

Comments

@ancat
Copy link
Member

ancat commented Jan 6, 2014

Code caves are okay for small pieces of code, but sometimes it makes more sense to allocate an entire section within the binary. This allows for introduction of larger pieces of code to the binary with less restrictions.

Pros:

  • Inject more code very easily

Cons:

  • Modifies the binary more significantly than using a code cave
  • Might require IDA to reload the binary
@ancat
Copy link
Member Author

ancat commented Jan 6, 2014

idc.AddSeg() looks like a good place to start.

@evanpjensen
Copy link
Member

I don't know if you can do this from within Ida but you can always modify
the section size for more room.

On Monday, January 6, 2014, Omar wrote:

idc.AddSeg() looks like a good place to start.


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-31628100
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants