forked from MaidsShadowClub/triton_krackme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroutines.hpp
61 lines (51 loc) · 1.55 KB
/
routines.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//! \file
/*
** This program is under the terms of the Apache License 2.0.
** Jonathan Salwan
*/
#ifndef TRITON_ROUTINES_H
#define TRITON_ROUTINES_H
#include <triton/context.hpp>
#include "ttexplore.hpp"
//! The Triton namespace
namespace triton {
/*!
* \addtogroup triton
* @{
*/
//! The Routines namespace
namespace routines {
/*!
* \ingroup triton
* \addtogroup routines
* @{
*/
//! __libc_start_main routine
triton::callbacks::cb_state_e __libc_start_main(triton::Context* ctx);
//! printf routine
triton::callbacks::cb_state_e printf(triton::Context* ctx);
//! puts routine
triton::callbacks::cb_state_e puts(triton::Context* ctx);
//! fflush routine
triton::callbacks::cb_state_e fflush(triton::Context* ctx);
//! getlogin routine
triton::callbacks::cb_state_e getlogin(triton::Context* ctx);
//! usleep routine
triton::callbacks::cb_state_e usleep(triton::Context* ctx);
//! sleep routine
triton::callbacks::cb_state_e sleep(triton::Context* ctx);
//! putchar routine
triton::callbacks::cb_state_e putchar(triton::Context* ctx);
//! exit routine
triton::callbacks::cb_state_e exit(triton::Context* ctx);
//! strlen routine
triton::callbacks::cb_state_e strlen(triton::Context* ctx);
//! fgets routine
triton::callbacks::cb_state_e fgets(triton::Context* ctx);
//! stub routine
triton::callbacks::cb_state_e stub(triton::Context* ctx);
/*! @} End of routines namespace */
};
/*! @} End of triton namespace */
};
#endif /* TRITON_ROUTINES_H */