Skip to content
  • Dima Kogan's avatar
    We now use known prototypes for all aliased symbols (same address) · be4b6e91
    Dima Kogan authored
    Some libraries have multiple names for the same function. Prior to this patch,
    it was possible to define a prototype for a symbol, and not have ltrace use it
    because it saw a different symbol be called. libc is a common source of this.
    For instance (on my amd64 Debian box) it defines the nanosleep symbol as both
    'nanosleep' and '__GI___nanosleep', at the same address. If a calling library
    calls '__GI___nanosleep', then an ltrace prototype for 'nanosleep' would not be
    used, even though it should apply to this call
    be4b6e91