Patent · US Active

Dynamic instrumentation via user-level mechanisms

US11868781B2 · kind B2 · utility

0Cited by
2References
19Claims
0Family size

Assignee

Inventor

Key dates

Filing dateMar 24, 2022
Grant dateJan 9, 2024
Priority date
Expiry dateMar 24, 2042

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F2201/865
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

In one embodiment, a method includes accessing a loaded but paused source process executable and disassembling the source process executable to identify a system call to be instrumented and an adjacent relocatable instruction. Instrumenting the system call includes building a trampoline for the system call that includes a check flag instruction at or near an entry point to the trampoline and two areas of the trampoline that are selectively executed according to results of the check flag instruction. Building a first area of the trampoline includes providing instructions to execute a relocated copy of the adjacent relocatable instruction and return flow to an address immediately following the adjacent relocatable instruction. Building a second area of the trampoline includes providing instructions to invoke at least one handler associated with executing a relocated copy of the system call and return flow to an address immediately following the system call.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.