Coder Social home page Coder Social logo

detect: Job list about ucsan HOT 6 CLOSED

linD026 avatar linD026 commented on June 24, 2024
detect: Job list

from ucsan.

Comments (6)

linD026 avatar linD026 commented on June 24, 2024

@ziyuan1135

from ucsan.

linD026 avatar linD026 commented on June 24, 2024

@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.

ziyuan1135 avatar ziyuan1135 commented on June 24, 2024

@linD026

  1. 所以【#define UCSAN_ACCESS_WRITE 0x1】,會傳1給我囉
  2. check_access的parameters多一個【unsigned long ip】,我會用到嗎

from ucsan.

linD026 avatar linD026 commented on June 24, 2024
  1. 所以【#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.

  1. 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.

linD026 avatar linD026 commented on June 24, 2024

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.

linD026 avatar linD026 commented on June 24, 2024

I create the PR for the basic concept of how the detect and unify subsystems interact.

from ucsan.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.