Skip to content

clang warning with ptrace pid_read() utils #8

@mothran

Description

@mothran
../../contrib/ecfs/src/core_text.c:37:12: warning: implicit declaration of function 'pid_read' is invalid in C99 [-Wimplicit-function-declaration]
        int ret = pid_read(pid, (void *)ptr, (void *)vaddr, len);
                  ^
../../contrib/ecfs/src/core_text.c:32:16: warning: unused function 'ptrace_read_mem' [-Wunused-function]
static ssize_t ptrace_read_mem(pid_t pid, uint8_t *ptr, unsigned long vaddr, size_t len)
               ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions