Toggle navigation
Toggle navigation
This project
Loading...
Sign in
손지언
/
2019102185
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
손지언
2022-02-09 07:19:12 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
62dde9f7707ac1bdb3688cba1007940506e1b7a7
62dde9f7
1 parent
0371f598
tlqkf
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
1 deletions
lab5-2/hooking_prac/hooking/dhooker/hooker.c
lab5-2/hooking_prac/hooking/dhooker/hooker.mod.c
lab5-2/hooking_prac/hooking/dhooker/hooker.mod.o
lab5-2/hooking_prac/hooking/dhooker/hooker.o
lab5-2/hooking_prac/hooking/hooker.ko
lab5-2/hooking_prac/hooking/dhooker/hooker.c
View file @
62dde9f
...
...
@@ -30,6 +30,7 @@ unsigned int sys_write_hooked(int nFD, char *pBuf, size_t nCnt){
int
__init
Hook_Init
(
void
){
sys_write_orig
=
(
void
*
)
g_puSysTableAddr
[
__NR_write
];
printk
(
"외않되?
\n
"
);
__asm__
__volatile__
(
"mrc p15, 0, %0, c3, c0"
:
"=r"
(
g_uPrevAP
));
__asm__
__volatile__
(
"mrc p15, 0, %0, c3, c0"
:
:
"r"
(
g_uNewAP
));
...
...
lab5-2/hooking_prac/hooking/dhooker/hooker.mod.c
View file @
62dde9f
...
...
@@ -30,4 +30,4 @@ __attribute__((section(".modinfo"))) =
"depends="
;
MODULE_INFO
(
srcversion
,
"
A8B6D680BDB7800A900C22D
"
);
MODULE_INFO
(
srcversion
,
"
C9222200A71E34F955A2A67
"
);
...
...
lab5-2/hooking_prac/hooking/dhooker/hooker.mod.o
View file @
62dde9f
No preview for this file type
lab5-2/hooking_prac/hooking/dhooker/hooker.o
View file @
62dde9f
No preview for this file type
lab5-2/hooking_prac/hooking/hooker.ko
View file @
62dde9f
No preview for this file type
Please
register
or
login
to post a comment