{"action":"created","issue":{"url":"https://api.github.com/repos/openucx/ucx/issues/509","labels_url":"https://api.github.com/repos/openucx/ucx/issues/509/labels{/name}","comments_url":"https://api.github.com/repos/openucx/ucx/issues/509/comments","events_url":"https://api.github.com/repos/openucx/ucx/issues/509/events","html_url":"https://github.com/openucx/ucx/pull/509","id":121988231,"number":509,"title":"contrib: simple test to overload malloc of running process","user":{"login":"miked-mellanox","id":2255576,"avatar_url":"https://avatars.githubusercontent.com/u/2255576?v=3","gravatar_id":"","url":"https://api.github.com/users/miked-mellanox","html_url":"https://github.com/miked-mellanox","followers_url":"https://api.github.com/users/miked-mellanox/followers","following_url":"https://api.github.com/users/miked-mellanox/following{/other_user}","gists_url":"https://api.github.com/users/miked-mellanox/gists{/gist_id}","starred_url":"https://api.github.com/users/miked-mellanox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miked-mellanox/subscriptions","organizations_url":"https://api.github.com/users/miked-mellanox/orgs","repos_url":"https://api.github.com/users/miked-mellanox/repos","events_url":"https://api.github.com/users/miked-mellanox/events{/privacy}","received_events_url":"https://api.github.com/users/miked-mellanox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-14T07:19:51Z","updated_at":"2015-12-14T14:45:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openucx/ucx/pulls/509","html_url":"https://github.com/openucx/ucx/pull/509","diff_url":"https://github.com/openucx/ucx/pull/509.diff","patch_url":"https://github.com/openucx/ucx/pull/509.patch"},"body":"working test code which overloads symbols of running process\r\nw/o using ld_preload but with help of elf symbol table.\r\n\r\nBased on true story from:\r\nhttp://stackoverflow.com/questions/27137527/overload-symbols-of-running-process-ld-preload-attachement\r\n\r\nRelys on constructor feature of gcc to run some code when lib is loaded\r\nThen this test just patch the GOT (Global Offset Table) entry for malloc/free/calloc/realloc.\r\n\r\nThe GOT stores the real addresses for the library functions so that the name resolution happen only\r\nonce."},"comment":{"url":"https://api.github.com/repos/openucx/ucx/issues/comments/164454898","html_url":"https://github.com/openucx/ucx/pull/509#issuecomment-164454898","issue_url":"https://api.github.com/repos/openucx/ucx/issues/509","id":164454898,"user":{"login":"ornl-buildbot","id":5246487,"avatar_url":"https://avatars.githubusercontent.com/u/5246487?v=3","gravatar_id":"","url":"https://api.github.com/users/ornl-buildbot","html_url":"https://github.com/ornl-buildbot","followers_url":"https://api.github.com/users/ornl-buildbot/followers","following_url":"https://api.github.com/users/ornl-buildbot/following{/other_user}","gists_url":"https://api.github.com/users/ornl-buildbot/gists{/gist_id}","starred_url":"https://api.github.com/users/ornl-buildbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ornl-buildbot/subscriptions","organizations_url":"https://api.github.com/users/ornl-buildbot/orgs","repos_url":"https://api.github.com/users/ornl-buildbot/repos","events_url":"https://api.github.com/users/ornl-buildbot/events{/privacy}","received_events_url":"https://api.github.com/users/ornl-buildbot/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T14:45:05Z","updated_at":"2015-12-14T14:45:05Z","body":"buildbot is starting to build for pull request 509 at the request of shamisp using base: 0f6de15e4ca02bbcb15954679634e9fd40625acf head: acd1ea9721d94d20f20cac7e116bb6d64b11af17\n\n"}}