Date: | Fri, 12 Apr 2019 14:19:25 -0700 |
---|---|
From: | Xiaozhu Meng <noreply@xxxxxxxxxx> |
Subject: | [DynInst_API:] [dyninst/dyninst] 78cb21: The _func_cnt member variable in class ParseAPI::B... |
Branch: refs/heads/pp_springboard Home: https://github.com/dyninst/dyninst Commit: 78cb21106399fa9b336e964231f4036a2ec30ba7 https://github.com/dyninst/dyninst/commit/78cb21106399fa9b336e964231f4036a2ec30ba7 Author: Xiaozhu Meng <xmeng@xxxxxxxxxxx> Date: 2019-04-12 (Fri, 12 Apr 2019) Changed paths: M parseAPI/h/CFG.h M parseAPI/src/Block.C M parseAPI/src/Function.C Log Message: ----------- The _func_cnt member variable in class ParseAPI::Block should be atomic<int>, rather than just int. A block can be shared by multiple functions. So, when multiple functions add/remove blocks at the same time, there will be race conditions. |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [DynInst_API:] [dyninst/dyninst] 87af4a: Fix the problem where trap springboards are not wr..., Xiaozhu Meng |
---|---|
Next by Date: | [DynInst_API:] [dyninst/dyninst] 2294e3: Delete unnecessary asserts, Xiaozhu Meng |
Previous by Thread: | [DynInst_API:] [dyninst/dyninst] 7718cd: Ignore additional Eclipse file and spurious .gitig..., Tim Haines |
Next by Thread: | [DynInst_API:] [dyninst/dyninst] 798fd8: Change dataTypeDefine -> DataTypedef in DataClass ..., Tim Haines |
Indexes: | [Date] [Thread] |