forked from fmoessbauer/drace
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: filter races that happen in an excluded module
- Loading branch information
1 parent
27636c2
commit 6551431
Showing
14 changed files
with
226 additions
and
69 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#pragma once | ||
/* | ||
* DRace, a dynamic data race detector | ||
* | ||
* Copyright 2018 Siemens AG | ||
* | ||
* Authors: | ||
* Felix Moessbauer <felix.moessbauer@siemens.com> | ||
* | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
|
||
namespace drace { | ||
namespace module { | ||
|
||
/// Instrumentation Level Flags | ||
enum INSTR_FLAGS : uint8_t { | ||
/// do not instrument this module | ||
NONE = 0, | ||
/// instrument functions (e.g. exclude) | ||
SYMBOLS = 1, | ||
/// instrument memory accesses | ||
MEMORY = 2, | ||
/// add shadow-stack instrumentation | ||
STACK = 4 | ||
}; | ||
|
||
} // namespace module | ||
} // namespace drace |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#pragma once | ||
/* | ||
* DRace, a dynamic data race detector | ||
* | ||
* Copyright 2018 Siemens AG | ||
* | ||
* Authors: | ||
* Felix Moessbauer <felix.moessbauer@siemens.com> | ||
* | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
|
||
namespace drace { | ||
namespace module { | ||
|
||
/// Flags describing characteristics of a module | ||
enum MOD_TYPE_FLAGS : uint8_t { | ||
/// no information available | ||
UNKNOWN = 0x0, | ||
/// native module | ||
NATIVE = 0x1, | ||
/// managed module | ||
MANAGED = 0x2, | ||
/// this (managed module) contains sync mechanisms | ||
SYNC = 0x4 | MANAGED | ||
}; | ||
|
||
} // namespace module | ||
} // namespace drace |
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
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
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
Oops, something went wrong.