Comments (6)
from ucsan.
@ziyuan1135
I add the basic thread sanitizer interface, which is the __tsan_{read, write}()
function, please check it.
The commit is 807ffbf.
It will call the check_access()
function and pass the operation type, like UCSAN_ACCESEE_WRITE
to specific the write operation.
from ucsan.
- 所以【#define UCSAN_ACCESS_WRITE 0x1】,會傳1給我囉
- check_access的parameters多一個【unsigned long ip】,我會用到嗎
from ucsan.
- 所以【#define UCSAN_ACCESS_WRITE 0x1】,會傳1給我囉
Yes.
But, you can use the bitwise AND to the macro name ( like UCSAN_ACCESS_WRITE & type ) to get the type.
- check_access的parameters多一個【unsigned long ip】,我會用到嗎
Yes.
It will get the return function address.
See the __builtin_return_address in
https://gcc.gnu.org/onlinedocs/gcc/Return-Address.html
from ucsan.
I create the PR for the find_watchpoint()
.
This patch set the basic idea of how the watchpoint store the information of the object that we want to detect the data race.
And how the watchpoint will be maintained.
See here:
from ucsan.
I create the PR for the basic concept of how the detect and unify subsystems interact.
from ucsan.
Related Issues (11)
- Team Member List HOT 4
- lib list
- report: Job list HOT 1
- unify: Job list HOT 10
- Add the CI pipeline HOT 2
- Fix the bug in gcc compiler specific HOT 1
- Let C plus plus compatible with C HOT 2
- Unit test report format HOT 1
- Define the structure of task and stack HOT 1
- detection sys.: correction and alternative HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ucsan.