Skip to content

How do you bring all the modules together? #16

@tangzichengcc

Description

@tangzichengcc

I want to integrate all the functions in one file, but, I meet lots of bug,
For example,
static struct ftrace_hook hooks[] = {
HOOK("sys_getdents64", hook_getdents64, &orig_getdents64),
HOOK("sys_getdents", hook_getdents, &orig_getdents),
HOOK("tcp4_seq_show", hook_tcp4_seq_show, &orig_tcp4_seq_show),
};

this will lead to
printk(KERN_DEBUG "rootkit: unresolved symbol: %s\n", hook->name);

I don't know why , can you help me ??? thank you !!!!

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