- 专利标题: Dynamic instrumentation via user-level mechanisms
-
申请号: US17214558申请日: 2021-03-26
-
公开(公告)号: US11288075B2公开(公告)日: 2022-03-29
- 发明人: Loris Degioanni
- 申请人: Sysdig, Inc.
- 申请人地址: US CA San Francisco
- 专利权人: Sysdig, Inc.
- 当前专利权人: Sysdig, Inc.
- 当前专利权人地址: US CA San Francisco
- 代理机构: Hickman Becker Bingham Ledesma LLP
- 主分类号: G06F9/38
- IPC分类号: G06F9/38 ; G06F9/30 ; G06F9/32 ; G06F9/445
摘要:
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.
公开/授权文献
- US20210303312A1 DYNAMIC INSTRUMENTATION VIA USER-LEVEL MECHANISMS 公开/授权日:2021-09-30
信息查询