Skip to content

hooker::HookerX86::doHook #6

Open
@vbmaxps

Description

@vbmaxps

void hooker::HookerX86::doHook(void *func, void *newAddr, void **origFunc) const {
char *f = (char *)func;
f[0] = 0x68;
*(long *)&f[1] = (long)newAddr;
f[5] = 0xc3;
}
这个没有处理 调用origFunc 原始函数吗?

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