svf-tools 1.0.631 → 1.0.632
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SVF-doxygen/html/html/BitVector_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/CommandLine_8h_source.html +25 -25
- package/SVF-doxygen/html/html/ContextDDA_8cpp_source.html +10 -10
- package/SVF-doxygen/html/html/ContextDDA_8h_source.html +3 -3
- package/SVF-doxygen/html/html/CoreBitVector_8cpp_source.html +29 -29
- package/SVF-doxygen/html/html/CoreBitVector_8h_source.html +27 -27
- package/SVF-doxygen/html/html/DDAStat_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/DDAVFSolver_8h_source.html +58 -58
- package/SVF-doxygen/html/html/FlowDDA_8h_source.html +8 -8
- package/SVF-doxygen/html/html/IntervalExeState_8h_source.html +4 -4
- package/SVF-doxygen/html/html/LockAnalysis_8cpp_source.html +4 -4
- package/SVF-doxygen/html/html/LockAnalysis_8h_source.html +33 -33
- package/SVF-doxygen/html/html/MHP_8cpp_source.html +2 -2
- package/SVF-doxygen/html/html/MHP_8h_source.html +36 -36
- package/SVF-doxygen/html/html/MTAResultValidator_8cpp_source.html +7 -7
- package/SVF-doxygen/html/html/MTAStat_8cpp_source.html +4 -4
- package/SVF-doxygen/html/html/PointsTo_8cpp_source.html +12 -12
- package/SVF-doxygen/html/html/RelExeState_8cpp_source.html +6 -6
- package/SVF-doxygen/html/html/RelExeState_8h_source.html +5 -5
- package/SVF-doxygen/html/html/SVFIR_8cpp_source.html +2 -2
- package/SVF-doxygen/html/html/SVFIR_8h_source.html +1 -1
- package/SVF-doxygen/html/html/VersionedFlowSensitive_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/classOption-members.html +1 -1
- package/SVF-doxygen/html/html/classOption.html +20 -20
- package/SVF-doxygen/html/html/classOptionMap.html +18 -18
- package/SVF-doxygen/html/html/classOptionMultiple.html +18 -18
- package/SVF-doxygen/html/html/classSVF_1_1BitVector.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1ContextDDA.html +13 -13
- package/SVF-doxygen/html/html/classSVF_1_1CoreBitVector.html +61 -61
- package/SVF-doxygen/html/html/classSVF_1_1CoreBitVector_1_1CoreBitVectorIterator.html +17 -17
- package/SVF-doxygen/html/html/classSVF_1_1DDAStat.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1DDAVFSolver.html +176 -176
- package/SVF-doxygen/html/html/classSVF_1_1FlowDDA.html +14 -14
- package/SVF-doxygen/html/html/classSVF_1_1ForkJoinAnalysis.html +126 -126
- package/SVF-doxygen/html/html/classSVF_1_1IntervalExeState.html +5 -5
- package/SVF-doxygen/html/html/classSVF_1_1LockAnalysis.html +136 -136
- package/SVF-doxygen/html/html/classSVF_1_1MHP.html +2 -2
- package/SVF-doxygen/html/html/classSVF_1_1MTAResultValidator.html +19 -19
- package/SVF-doxygen/html/html/classSVF_1_1MTASVFGBuilder.html +2 -2
- package/SVF-doxygen/html/html/classSVF_1_1MTAStat.html +4 -4
- package/SVF-doxygen/html/html/classSVF_1_1PointsTo.html +12 -12
- package/SVF-doxygen/html/html/classSVF_1_1PointsTo_1_1PointsToIterator.html +3 -3
- package/SVF-doxygen/html/html/classSVF_1_1RelExeState.html +14 -14
- package/SVF-doxygen/html/html/classSVF_1_1SVFIR.html +3 -3
- package/SVF-doxygen/html/html/classSVF_1_1SVFIR2ItvExeState.html +2 -2
- package/SVF-doxygen/html/html/classSVF_1_1VersionedFlowSensitive.html +1 -1
- package/SVF-doxygen/html/html/functions_f.html +1 -1
- package/SVF-doxygen/html/html/include_2MTA_2MTAResultValidator_8h_source.html +6 -6
- package/SVF-doxygen/html/html/search/all_6.js +1 -1
- package/SVF-doxygen/html/html/search/functions_5.js +1 -1
- package/SVF-doxygen/html/html/structstd_1_1hash_3_01SVF_1_1IntervalExeState_01_4.html +3 -3
- package/SVF-doxygen/html/html/tools_2MTA_2MTAResultValidator_8h_source.html +6 -6
- package/include/AbstractExecution/IntervalExeState.h +2 -4
- package/include/DDA/DDAVFSolver.h +1 -3
- package/include/MTA/LockAnalysis.h +1 -3
- package/include/MTA/MHP.h +2 -6
- package/include/Util/CommandLine.h +7 -4
- package/lib/AbstractExecution/RelExeState.cpp +2 -3
- package/lib/MTA/LockAnalysis.cpp +2 -8
- package/lib/SVFIR/SVFIR.cpp +1 -3
- package/lib/Util/CoreBitVector.cpp +3 -1
- package/package.json +1 -1
- package/tools/MTA/MTAResultValidator.cpp +1 -3
|
@@ -66,7 +66,7 @@ $(function() {
|
|
|
66
66
|
<div class="title">BitVector.cpp</div> </div>
|
|
67
67
|
</div><!--header-->
|
|
68
68
|
<div class="contents">
|
|
69
|
-
<a href="BitVector_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//===- BitVector.cpp -- bit vector data structure implementation ------------//</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">/*</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * BitVector.cpp</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Contiguous bit vector with trailing 0s stripped (implementation).</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * Created on: Jul 4, 2021</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * Author: Mohamad Barbar</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> */</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <<a class="code" href="BitVector_8h.html">Util/BitVector.h</a>></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="keyword">namespace </span><a class="code" href="namespaceSVF.html">SVF</a></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classSVF_1_1BitVector.html#a212871312b985f7d7215dd46ba171990"> 17</a></span> <a class="code" href="classSVF_1_1BitVector.html#a212871312b985f7d7215dd46ba171990">BitVector::BitVector</a>(<span class="keywordtype">void</span>)</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  : <a class="code" href="classSVF_1_1BitVector.html">BitVector</a>(0) { }</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classSVF_1_1BitVector.html#a79f32ec9f2644133b1df8b8e0e26da15"> 20</a></span> <a class="code" href="classSVF_1_1BitVector.html#a212871312b985f7d7215dd46ba171990">BitVector::BitVector</a>(<span class="keywordtype">size_t</span> <a class="code" href="cJSON_8cpp.html#ab6e2ea6dc7bd57d1483413449998230a">n</a>)</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  : <a class="code" href="classSVF_1_1CoreBitVector.html">CoreBitVector</a>(n)</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> {</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="comment">// This ensures that leading zeroes are never stripped.</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keyword">set</span>(0);</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <a class="code" href="classSVF_1_1CoreBitVector.html#a42fc777d574db4ef23b02308b944a85b">reset</a>(0);</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> }</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classSVF_1_1BitVector.html#a5c01a464702283bf07ef6831705405a2"> 28</a></span> <a class="code" href="classSVF_1_1BitVector.html#a212871312b985f7d7215dd46ba171990">BitVector::BitVector</a>(<span class="keyword">const</span> <a class="code" href="classSVF_1_1BitVector.html">BitVector</a> &bv)</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  : <a class="code" href="classSVF_1_1CoreBitVector.html">CoreBitVector</a>(bv) { }</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classSVF_1_1BitVector.html#a4a5726a380b115e555944059a507eab7"> 31</a></span> <a class="code" href="classSVF_1_1BitVector.html#a212871312b985f7d7215dd46ba171990">BitVector::BitVector</a>(<a class="code" href="classSVF_1_1BitVector.html">BitVector</a> &&bv)</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  : <a class="code" href="classSVF_1_1CoreBitVector.html">CoreBitVector</a>(bv) { }</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classSVF_1_1BitVector.html#a5e537ecf471af33c08752eb9d55f1910"> 34</a></span> <a class="code" href="classSVF_1_1BitVector.html">BitVector</a> &<a class="code" href="classSVF_1_1BitVector.html#a5e537ecf471af33c08752eb9d55f1910">BitVector::operator=</a>(<span class="keyword">const</span> <a class="code" href="classSVF_1_1BitVector.html">BitVector</a> &rhs)</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <a class="code" href="classSVF_1_1CoreBitVector.html#a3594d997fba0aa6201855199a884d98d">CoreBitVector::operator=</a>(rhs);</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> }</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classSVF_1_1BitVector.html#af5bd38d3b667a8740aaf309f6ef13369"> 40</a></span> <a class="code" href="classSVF_1_1BitVector.html">BitVector</a> &<a class="code" href="classSVF_1_1BitVector.html#a5e537ecf471af33c08752eb9d55f1910">BitVector::operator=</a>(<a class="code" href="classSVF_1_1BitVector.html">BitVector</a> &&rhs)</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> {</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <a class="code" href="classSVF_1_1CoreBitVector.html#a3594d997fba0aa6201855199a884d98d">CoreBitVector::operator=</a>(rhs);</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> }</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> } <span class="comment">// namespace SVF</span></div><div class="ttc" id="classSVF_1_1CoreBitVector_html_a42fc777d574db4ef23b02308b944a85b"><div class="ttname"><a href="classSVF_1_1CoreBitVector.html#a42fc777d574db4ef23b02308b944a85b">SVF::CoreBitVector::reset</a></div><div class="ttdeci">void reset(u32_t bit)</div><div class="ttdoc">Resets bit in the CBV. </div><div class="ttdef"><b>Definition:</b> <a href="CoreBitVector_8cpp_source.html#
|
|
69
|
+
<a href="BitVector_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//===- BitVector.cpp -- bit vector data structure implementation ------------//</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">/*</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * BitVector.cpp</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Contiguous bit vector with trailing 0s stripped (implementation).</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * Created on: Jul 4, 2021</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * Author: Mohamad Barbar</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> */</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <<a class="code" href="BitVector_8h.html">Util/BitVector.h</a>></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="keyword">namespace </span><a class="code" href="namespaceSVF.html">SVF</a></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classSVF_1_1BitVector.html#a212871312b985f7d7215dd46ba171990"> 17</a></span> <a class="code" href="classSVF_1_1BitVector.html#a212871312b985f7d7215dd46ba171990">BitVector::BitVector</a>(<span class="keywordtype">void</span>)</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  : <a class="code" href="classSVF_1_1BitVector.html">BitVector</a>(0) { }</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classSVF_1_1BitVector.html#a79f32ec9f2644133b1df8b8e0e26da15"> 20</a></span> <a class="code" href="classSVF_1_1BitVector.html#a212871312b985f7d7215dd46ba171990">BitVector::BitVector</a>(<span class="keywordtype">size_t</span> <a class="code" href="cJSON_8cpp.html#ab6e2ea6dc7bd57d1483413449998230a">n</a>)</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  : <a class="code" href="classSVF_1_1CoreBitVector.html">CoreBitVector</a>(n)</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> {</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="comment">// This ensures that leading zeroes are never stripped.</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keyword">set</span>(0);</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <a class="code" href="classSVF_1_1CoreBitVector.html#a42fc777d574db4ef23b02308b944a85b">reset</a>(0);</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> }</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classSVF_1_1BitVector.html#a5c01a464702283bf07ef6831705405a2"> 28</a></span> <a class="code" href="classSVF_1_1BitVector.html#a212871312b985f7d7215dd46ba171990">BitVector::BitVector</a>(<span class="keyword">const</span> <a class="code" href="classSVF_1_1BitVector.html">BitVector</a> &bv)</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  : <a class="code" href="classSVF_1_1CoreBitVector.html">CoreBitVector</a>(bv) { }</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classSVF_1_1BitVector.html#a4a5726a380b115e555944059a507eab7"> 31</a></span> <a class="code" href="classSVF_1_1BitVector.html#a212871312b985f7d7215dd46ba171990">BitVector::BitVector</a>(<a class="code" href="classSVF_1_1BitVector.html">BitVector</a> &&bv)</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  : <a class="code" href="classSVF_1_1CoreBitVector.html">CoreBitVector</a>(bv) { }</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classSVF_1_1BitVector.html#a5e537ecf471af33c08752eb9d55f1910"> 34</a></span> <a class="code" href="classSVF_1_1BitVector.html">BitVector</a> &<a class="code" href="classSVF_1_1BitVector.html#a5e537ecf471af33c08752eb9d55f1910">BitVector::operator=</a>(<span class="keyword">const</span> <a class="code" href="classSVF_1_1BitVector.html">BitVector</a> &rhs)</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <a class="code" href="classSVF_1_1CoreBitVector.html#a3594d997fba0aa6201855199a884d98d">CoreBitVector::operator=</a>(rhs);</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> }</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classSVF_1_1BitVector.html#af5bd38d3b667a8740aaf309f6ef13369"> 40</a></span> <a class="code" href="classSVF_1_1BitVector.html">BitVector</a> &<a class="code" href="classSVF_1_1BitVector.html#a5e537ecf471af33c08752eb9d55f1910">BitVector::operator=</a>(<a class="code" href="classSVF_1_1BitVector.html">BitVector</a> &&rhs)</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> {</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <a class="code" href="classSVF_1_1CoreBitVector.html#a3594d997fba0aa6201855199a884d98d">CoreBitVector::operator=</a>(rhs);</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> }</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> } <span class="comment">// namespace SVF</span></div><div class="ttc" id="classSVF_1_1CoreBitVector_html_a42fc777d574db4ef23b02308b944a85b"><div class="ttname"><a href="classSVF_1_1CoreBitVector.html#a42fc777d574db4ef23b02308b944a85b">SVF::CoreBitVector::reset</a></div><div class="ttdeci">void reset(u32_t bit)</div><div class="ttdoc">Resets bit in the CBV. </div><div class="ttdef"><b>Definition:</b> <a href="CoreBitVector_8cpp_source.html#l00097">CoreBitVector.cpp:97</a></div></div>
|
|
70
70
|
<div class="ttc" id="classSVF_1_1BitVector_html_a212871312b985f7d7215dd46ba171990"><div class="ttname"><a href="classSVF_1_1BitVector.html#a212871312b985f7d7215dd46ba171990">SVF::BitVector::BitVector</a></div><div class="ttdeci">BitVector(void)</div><div class="ttdoc">Construct empty BV. </div><div class="ttdef"><b>Definition:</b> <a href="BitVector_8cpp_source.html#l00017">BitVector.cpp:17</a></div></div>
|
|
71
71
|
<div class="ttc" id="BitVector_8h_html"><div class="ttname"><a href="BitVector_8h.html">BitVector.h</a></div></div>
|
|
72
72
|
<div class="ttc" id="cJSON_8cpp_html_ab6e2ea6dc7bd57d1483413449998230a"><div class="ttname"><a href="cJSON_8cpp.html#ab6e2ea6dc7bd57d1483413449998230a">n</a></div><div class="ttdeci">cJSON * n</div><div class="ttdef"><b>Definition:</b> <a href="cJSON_8cpp_source.html#l02558">cJSON.cpp:2558</a></div></div>
|