Dynamically applying a patch to a shared library

    公开(公告)号:US10338914B2

    公开(公告)日:2019-07-02

    申请号:US15504367

    申请日:2014-10-27

    Abstract: Some examples described herein relate to dynamically applying a patch to a shared library. An external process may be invoked to bring target processes that refer to a shared library, to a safe point. In response to a function call from a target process, amongst the target processes, to access a target function in the shared library, the function call may be forwarded to a special function in a dynamic loader, wherein the target function is a function to be patched in the shared library. The special function may determine whether a shared patch library, comprising a patched version of the target function or a new function, is loaded for the target process. In response to determination that the shared patch library is not loaded for the target process, the shared patch library may be loaded only for the target process, and the request for the target function may be routed to the patched version of the target function or the new function, in the shared patch library.

    APPLICATION-DEFINED OBJECT LOGGING THROUGH A FILE SYSTEM JOURNAL

    公开(公告)号:US20180314728A1

    公开(公告)日:2018-11-01

    申请号:US15581334

    申请日:2017-04-28

    CPC classification number: G06F17/30144 G06F11/1471

    Abstract: Some examples relate to performing application-defined object logging through a file system journal. In an example, a file system may determine during execution of an operation for an application whether a callback function is specified for the operation. In response to the determination, file system may invoke the callback function. File system may receive an object defined by the application. File system may link a copy of the object with a file system transaction associated with the operation in a journal of file system. File system may determine whether file system transaction is committed. In response to the determination, file system may write a copy of the object from the journal to an event log file. File system may allow the application to determine whether file system transaction is committed by enabling access to the event log file.

    DYNAMICALLY APPLYING A PATCH TO A SHARED LIBRARY

    公开(公告)号:US20170242687A1

    公开(公告)日:2017-08-24

    申请号:US15504367

    申请日:2014-10-27

    CPC classification number: G06F8/656 G06F8/65 G06F9/44521

    Abstract: Some examples described herein relate to dynamically applying a patch to a shared library, An external process may be invoked to bring target processes that refer to a shared library, to a safe point. In response to a function call from a target process, amongst the target processes, to access a target function in the shared library, the function call may be forwarded to a special function in a dynamic loader, wherein the target function is a function to be patched in the shared library. The special function may determine whether a shared patch library, comprising a patched version of the target function or a new function, is loaded for the target process. In response to determination that the shared patch library is not loaded for the target process, the shared patch library may be loaded only for the target process, and the request for the target function may be routed to the patched version of the target function or the new function, in the shared patch library.

Patent Agency Ranking