-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change scope to call for atomic operations
- Loading branch information
jorik
committed
Oct 31, 2024
1 parent
f880b13
commit 1fdde58
Showing
4 changed files
with
15 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ rule: | |
- [email protected] | ||
scopes: | ||
static: function | ||
dynamic: thread | ||
dynamic: call | ||
mbc: | ||
- File System::Copy File [C0045] | ||
examples: | ||
|
@@ -26,8 +26,7 @@ rule: | |
- number: 2 = FO_COPY | ||
- or: | ||
- api: kernel32.SHFileOperation | ||
- call: | ||
- and: | ||
- number: 2 = FO_COPY | ||
- or: | ||
- api: kernel32.SHFileOperation | ||
- and: | ||
- number: 2 = FO_COPY | ||
- or: | ||
- api: kernel32.SHFileOperation |
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ rule: | |
- [email protected] | ||
scopes: | ||
static: function | ||
dynamic: thread | ||
dynamic: call | ||
mbc: | ||
- File System::Move File [C0063] | ||
examples: | ||
|
@@ -27,7 +27,6 @@ rule: | |
- number: 1 = FO_MOVE | ||
- or: | ||
- api: kernel32.SHFileOperation | ||
- call: | ||
- and: | ||
- number: 1 = FO_MOVE | ||
- api: kernel32.SHFileOperation | ||
- and: | ||
- number: 1 = FO_MOVE | ||
- api: kernel32.SHFileOperation |
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ rule: | |
- [email protected] | ||
scopes: | ||
static: function | ||
dynamic: thread | ||
dynamic: call | ||
mbc: | ||
- File System::Writes File [C0052] | ||
examples: | ||
|
@@ -24,11 +24,10 @@ rule: | |
- number: 0x40000000 = GENERIC_WRITE | ||
- number: 0x2 = FILE_WRITE_DATA | ||
- match: create or open file | ||
- call: | ||
- or: | ||
- number: 0x40000000 = GENERIC_WRITE | ||
- number: 0x2 = FILE_WRITE_DATA | ||
- match: create or open file | ||
- or: | ||
- number: 0x40000000 = GENERIC_WRITE | ||
- number: 0x2 = FILE_WRITE_DATA | ||
- match: create or open file | ||
- or: | ||
- api: kernel32.WriteFile | ||
- api: kernel32.WriteFileEx | ||
|
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ rule: | |
- [email protected] | ||
scopes: | ||
static: function | ||
dynamic: thread | ||
dynamic: call | ||
mbc: | ||
- Operating System::Registry::Set Registry Key [C0036.001] | ||
examples: | ||
|