[DynInst_API:] [dyninst/dyninst] 9f9b9d: Add detection of Linux vsyscall for 32-bit code


Date: Thu, 22 Feb 2024 16:32:38 -0800
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 9f9b9d: Add detection of Linux vsyscall for 32-bit code
  Branch: refs/heads/thaines/expand_syscall_detection
  Home:   https://github.com/dyninst/dyninst
  Commit: 9f9b9dc8c68aeadb1246f752295b1321600b86e7
      https://github.com/dyninst/dyninst/commit/9f9b9dc8c68aeadb1246f752295b1321600b86e7
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-02-22 (Thu, 22 Feb 2024)

  Changed paths:
    M parseAPI/src/IA_x86.C

  Log Message:
  -----------
  Add detection of Linux vsyscall for 32-bit code

The existing code did not work because the Operand formatter uses AT&T
syntax and doesn't convert hex to decimal, so the '== "16"' check
always failed.

The convoluted logic in the visitor is needed because Dyninst does not
generate AST for segment registers. Yet, it _does_ record if they are
read/written.

The AST for the 'gs' register was made a file scope static because its
initialization would cause some glibc's to throw a
__gnu_cxx::recursive_init_error when using multiple threads.


  Commit: 1eb058f4bdd55b519d0ef8d2c7ce5b2b40dae2e4
      https://github.com/dyninst/dyninst/commit/1eb058f4bdd55b519d0ef8d2c7ce5b2b40dae2e4
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-02-22 (Thu, 22 Feb 2024)

  Changed paths:
    M parseAPI/src/IA_aarch64.C

  Log Message:
  -----------
  aarch64 - add svc

Supervisor Call


  Commit: 3a9e197e6bfd53dfacc227fcda8d2df1c18aebfd
      https://github.com/dyninst/dyninst/commit/3a9e197e6bfd53dfacc227fcda8d2df1c18aebfd
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-02-22 (Thu, 22 Feb 2024)

  Changed paths:
    M parseAPI/src/IA_power.C

  Log Message:
  -----------
  ppc - add system call


  Commit: a7b987d2bf78f6d238c60fb98c33aa93aa904782
      https://github.com/dyninst/dyninst/commit/a7b987d2bf78f6d238c60fb98c33aa93aa904782
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-02-22 (Thu, 22 Feb 2024)

  Changed paths:
    M parseAPI/src/IA_x86.C

  Log Message:
  -----------
  Add int1, into to IA_x86::isInterrupt


Compare: https://github.com/dyninst/dyninst/compare/b3624f57c726...a7b987d2bf78

To unsubscribe from these emails, change your notification settings at https://github.com/dyninst/dyninst/settings/notifications
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 9f9b9d: Add detection of Linux vsyscall for 32-bit code, Tim Haines <=