Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how to get IMAGE_FUNCTION_ENTRY

how to get IMAGE_FUNCTION_ENTRY

Scheduled Pinned Locked Moved C / C++ / MFC
questiontutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gamitech
    wrote on last edited by
    #1

    i wonder how can I get an IMAGE_FUNCTION_ENTRY of a certain function in a dll is it IMAGE_FUNCTION_ENTRY *IFE=(IMAGE_FUNCTION_ENTRY *)((BYTE *)hMod+FunctionAddress) ???? this returns a non NULL value but I am not sure if it is a valid structure gabby

    Y A 2 Replies Last reply
    0
    • G gamitech

      i wonder how can I get an IMAGE_FUNCTION_ENTRY of a certain function in a dll is it IMAGE_FUNCTION_ENTRY *IFE=(IMAGE_FUNCTION_ENTRY *)((BYTE *)hMod+FunctionAddress) ???? this returns a non NULL value but I am not sure if it is a valid structure gabby

      Y Offline
      Y Offline
      YoSilver
      wrote on last edited by
      #2

      Please read this fantastic article and code, may be helpful: http://www.codeproject.com/system/hooksys.asp[^] One always gets the deserved.
      http://www.silveragesoftware.com/hffr.html
      Update your source code with my tool HandyFile Find And Replace!

      1 Reply Last reply
      0
      • G gamitech

        i wonder how can I get an IMAGE_FUNCTION_ENTRY of a certain function in a dll is it IMAGE_FUNCTION_ENTRY *IFE=(IMAGE_FUNCTION_ENTRY *)((BYTE *)hMod+FunctionAddress) ???? this returns a non NULL value but I am not sure if it is a valid structure gabby

        A Offline
        A Offline
        Alexander M
        wrote on last edited by
        #3

        It is definitly not. The code you are using may not even create a pointer to valid memory. Read the "SymFunctionTableAccess64" page in MSDN and you will see that IMAGE_FUNCTION_ENTRY is not used on x86 (Intel + AMD) platforms. Don't try it, just do it! ;-)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups