Results 1 to 1 of 1

Thread: [IDAPython] Useful snippets

  1. #1
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,010
    Thanks
    2,102
    Thanked 1,083 Times in 753 Posts

    [IDAPython] Useful snippets

    The dialog accepts also function names, like "recvfrom":

    Code:
    Python>print("Address: " + hex(idaapi.askaddr(0, "Enter target address")))
    Address: 0x8a6f51c
    Figure out the function address of some random location:

    Code:
    Python>print hex(idaapi.get_func(0x080D53A3).startEA)
    0x80d5330
    
    Python>print idaapi.get_func(0x123)
    None
    timescale 0.01

  2. The Following User Says Thank You to kung foo man For This Useful Post:

    kubislav23 (24th September 2018)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •