Skip to content

Fixed unicorn_dumper_gdb.py for updated version of gef #2045

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

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

SolarDebris
Copy link
Contributor

Updated unicorn_dumper_gdb.py to support new gef api and replaced deprecated functions . The functions that are not in the new gef api are read_memory(), and current_arch(). Also replaced some deprecated functions with the updated versions of them.

replaced read_memory() with GefMemoryManager.read() as read_memory(). read_memory() is in legacy-gef-api
replaced current_arch with gef.arch.registers
replaced get_process_maps() with gef.memory.maps (just depreacated)
replaced get_register() with gef.arch.register()


Updated unicorn_dumper_gdb.py to support new gef api and replaced deprecated functions . The functions that are not in the new gef api are read_memory(), and current_arch(). Also replaced some deprecated functions with the updated versions of them.

    replaced read_memory() with GefMemoryManager.read() as read_memory(). read_memory() is in legacy-gef-api
    replaced current_arch with gef.arch.registers
    replaced get_process_maps() with gef.memory.maps (just depreacated)
    replaced get_register() with gef.arch.register()
@vanhauser-thc
Copy link
Member

@domenukk ?

@domenukk
Copy link
Member

domenukk commented Apr 3, 2024

Looks good, thx!

@domenukk domenukk merged commit 2bf9284 into AFLplusplus:dev Apr 3, 2024
@SolarDebris SolarDebris deleted the dev branch April 3, 2024 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy