• Eric Pouech's avatar
    dbghelp: Mimic native behavior for module name. · 4f80a599
    Eric Pouech authored
    Module names appear in three spots in dbghelp:
      A) SymGetModuleInfo() .ModuleName
      B) module enumeration (as parameter in callback)
      C) in symbol/type research in module!name form
    
    Tests show that:
    - A) and B) always use only the derivation of the image
      name, whatever the passed module name in SymLoadModule().
    - C) can use either the form derived from image name
      {as A) and B)}, but also the passed module name in
      SymLoadModule().
    
    Note: B) is limited to 64 characters, while A) is limited to 32
    characters (not tested here).
    Signed-off-by: 's avatarEric Pouech <epouech@codeweavers.com>
    4f80a599
path.c 78.4 KB