Giter VIP home page Giter VIP logo

Comments (3)

noword avatar noword commented on July 20, 2024

这个hook库非常好用,比那空有名气,臃肿又难用,时不时还出错,还要闭源的substrate,好多了。

from android-inline-hook.

ele7enxxh avatar ele7enxxh commented on July 20, 2024

感想认可

from android-inline-hook.

noword avatar noword commented on July 20, 2024

老大,咋不更新呢?

`#ifndef _INLINEHOOK_H
#define _INLINEHOOK_H
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif

enum ele7en_status {
ELE7EN_ERROR_UNKNOWN = -1,
ELE7EN_OK = 0,
ELE7EN_ERROR_NOT_INITIALIZED,
ELE7EN_ERROR_NOT_EXECUTABLE,
ELE7EN_ERROR_NOT_REGISTERED,
ELE7EN_ERROR_NOT_HOOKED,
ELE7EN_ERROR_ALREADY_REGISTERED,
ELE7EN_ERROR_ALREADY_HOOKED,
ELE7EN_ERROR_SO_NOT_FOUND,
ELE7EN_ERROR_FUNCTION_NOT_FOUND
};

enum ele7en_status registerInlineHook(uint32_t target_addr, uint32_t new_addr, uint32_t **proto_addr);
enum ele7en_status inlineUnHook(uint32_t target_addr);
void inlineUnHookAll();
enum ele7en_status inlineHook(uint32_t target_addr);
void inlineHookAll();

#ifdef __cplusplus
}
#endif

#endif`

from android-inline-hook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.