Skip to content

Instantly share code, notes, and snippets.

@resilar
resilar / pdlsym.c
Last active March 11, 2025 20:34
dlsym() for remote processes
#include <errno.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ptrace.h>
#include <sys/types.h>
#include <unistd.h>
struct elf {