-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make module implementations self-contained
Individual modules' YR_MODULE structs are now defined alongside the rest of the module code.
- Loading branch information
Showing
16 changed files
with
41 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -270,3 +270,5 @@ int module_unload(YR_OBJECT* module_object) | |
{ | ||
return ERROR_SUCCESS; | ||
} | ||
|
||
yr_module_define(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -464,3 +464,5 @@ int module_unload(YR_OBJECT* module) | |
|
||
return ERROR_SUCCESS; | ||
} | ||
|
||
yr_module_define(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,3 +64,5 @@ int module_unload(YR_OBJECT* module_object) | |
{ | ||
return ERROR_SUCCESS; | ||
} | ||
|
||
yr_module_define(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1504,4 +1504,4 @@ int module_unload(YR_OBJECT* module_object) | |
return ERROR_SUCCESS; | ||
} | ||
|
||
#undef MODULE_NAME | ||
yr_module_define(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3536,3 +3536,5 @@ int module_unload(YR_OBJECT* module_object) | |
|
||
return ERROR_SUCCESS; | ||
} | ||
|
||
yr_module_define(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1253,3 +1253,5 @@ int module_unload(YR_OBJECT* module_object) | |
|
||
return ERROR_SUCCESS; | ||
} | ||
|
||
yr_module_define(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -867,3 +867,5 @@ int module_unload(YR_OBJECT* module_object) | |
|
||
return ERROR_SUCCESS; | ||
} | ||
|
||
yr_module_define(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1373,3 +1373,5 @@ int module_unload(YR_OBJECT* module_object) | |
{ | ||
return ERROR_SUCCESS; | ||
} | ||
|
||
yr_module_define(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -201,3 +201,5 @@ int module_unload(YR_OBJECT* module) | |
|
||
return ERROR_SUCCESS; | ||
} | ||
|
||
yr_module_define(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -826,3 +826,5 @@ int module_unload(YR_OBJECT* module_object) | |
{ | ||
return ERROR_SUCCESS; | ||
} | ||
|
||
yr_module_define(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -317,3 +317,5 @@ int module_load( | |
|
||
return ERROR_SUCCESS; | ||
} | ||
|
||
yr_module_define(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4075,3 +4075,5 @@ int module_unload(YR_OBJECT* module_object) | |
|
||
return ERROR_SUCCESS; | ||
} | ||
|
||
yr_module_define(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,3 +73,5 @@ int module_unload(YR_OBJECT* module_object) | |
{ | ||
return ERROR_SUCCESS; | ||
} | ||
|
||
yr_module_define(); |