<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Compiling SGX Applications With Coverage in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1216581#M4021</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When trying to compile my SGX application using GCC with the --coverage flag in order to use gcov, I get the following compilation errors:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;PRE class="c-mrkdwn__pre" data-stringify-type="pre"&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `gcov_write_block':&lt;BR /&gt;(.text+0x23): undefined reference to `fwrite'&lt;BR /&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `gcov_read_words':&lt;BR /&gt;(.text+0xed): undefined reference to `fread'&lt;BR /&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `gcov_error':&lt;BR /&gt;(.text+0x1d4): undefined reference to `__vfprintf_chk'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x204): undefined reference to `fopen'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x216): undefined reference to `stderr'&lt;BR /&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `__gcov_open':&lt;BR /&gt;(.text+0x39a): undefined reference to `open'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x3d2): undefined reference to `fdopen'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x3eb): undefined reference to `setbuf'&lt;BR /&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `__gcov_close':&lt;BR /&gt;(.text+0x438): undefined reference to `fclose'&lt;BR /&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `__gcov_read_summary':&lt;BR /&gt;(.text+0x79a): undefined reference to `__popcountdi2'&lt;BR /&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `__gcov_seek':&lt;BR /&gt;(.text+0x8f9): undefined reference to `fseek'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x902): undefined reference to `ftell'&lt;BR /&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `gcov_do_dump':&lt;BR /&gt;(.text+0xf2f): undefined reference to `strcpy'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x10cc): undefined reference to `stderr'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x10db): undefined reference to `__fprintf_chk'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x1107): undefined reference to `fseek'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x1bf3): undefined reference to `fseek'&lt;BR /&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `__gcov_exit':&lt;BR /&gt;(.text+0x1e87): undefined reference to `stderr'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x1e91): undefined reference to `fclose'&lt;BR /&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `__gcov_rewrite':&lt;BR /&gt;(.text+0x31e): undefined reference to `fseek'&lt;BR /&gt;collect2: error: ld returned 1 exit status&lt;/PRE&gt;
&lt;P&gt;I believe that's because of the modified libc used when compiling SGX applications.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to diagnose coverage in SGX applications (using gcov or some other method)?&lt;/P&gt;</description>
    <pubDate>Sun, 11 Oct 2020 15:10:28 GMT</pubDate>
    <dc:creator>BenLD</dc:creator>
    <dc:date>2020-10-11T15:10:28Z</dc:date>
    <item>
      <title>Compiling SGX Applications With Coverage</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1216581#M4021</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When trying to compile my SGX application using GCC with the --coverage flag in order to use gcov, I get the following compilation errors:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;PRE class="c-mrkdwn__pre" data-stringify-type="pre"&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `gcov_write_block':&lt;BR /&gt;(.text+0x23): undefined reference to `fwrite'&lt;BR /&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `gcov_read_words':&lt;BR /&gt;(.text+0xed): undefined reference to `fread'&lt;BR /&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `gcov_error':&lt;BR /&gt;(.text+0x1d4): undefined reference to `__vfprintf_chk'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x204): undefined reference to `fopen'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x216): undefined reference to `stderr'&lt;BR /&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `__gcov_open':&lt;BR /&gt;(.text+0x39a): undefined reference to `open'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x3d2): undefined reference to `fdopen'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x3eb): undefined reference to `setbuf'&lt;BR /&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `__gcov_close':&lt;BR /&gt;(.text+0x438): undefined reference to `fclose'&lt;BR /&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `__gcov_read_summary':&lt;BR /&gt;(.text+0x79a): undefined reference to `__popcountdi2'&lt;BR /&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `__gcov_seek':&lt;BR /&gt;(.text+0x8f9): undefined reference to `fseek'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x902): undefined reference to `ftell'&lt;BR /&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `gcov_do_dump':&lt;BR /&gt;(.text+0xf2f): undefined reference to `strcpy'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x10cc): undefined reference to `stderr'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x10db): undefined reference to `__fprintf_chk'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x1107): undefined reference to `fseek'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x1bf3): undefined reference to `fseek'&lt;BR /&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `__gcov_exit':&lt;BR /&gt;(.text+0x1e87): undefined reference to `stderr'&lt;BR /&gt;/usr/local/bin/ld: (.text+0x1e91): undefined reference to `fclose'&lt;BR /&gt;/usr/local/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/libgcov.a(_gcov.o): in function `__gcov_rewrite':&lt;BR /&gt;(.text+0x31e): undefined reference to `fseek'&lt;BR /&gt;collect2: error: ld returned 1 exit status&lt;/PRE&gt;
&lt;P&gt;I believe that's because of the modified libc used when compiling SGX applications.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to diagnose coverage in SGX applications (using gcov or some other method)?&lt;/P&gt;</description>
      <pubDate>Sun, 11 Oct 2020 15:10:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1216581#M4021</guid>
      <dc:creator>BenLD</dc:creator>
      <dc:date>2020-10-11T15:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling SGX Applications With Coverage</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1216680#M4023</link>
      <description>&lt;P&gt;Yes, we could get the code coverage data for SGX application.&amp;nbsp; For non-enclave(non-trusted) part, just like normal application. For enclave(trusted) part, you need do some work-around to get the coverage data.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 03:01:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1216680#M4023</guid>
      <dc:creator>Junli_S_Intel</dc:creator>
      <dc:date>2020-10-12T03:01:08Z</dc:date>
    </item>
    <item>
      <title>Re:Compiling Sgx Application With Coverage</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1217363#M4029</link>
      <description>&lt;P&gt;Hello Ben,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You can't use gcov to get coverage for enclave code but you can use the Intel VTune Profiler to find hotspots, or areas of high CPU utilization, in your enclave code.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Use the Intel® VTune™ Amplifier Application 2016 Update 2 and higher to measure the performance of Intel® Software Guard Extensions (Intel® SGX) applications, including the enclave.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Follow these steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/tools/vtune-profiler/choose-download.html" rel="noopener noreferrer" target="_blank"&gt;Download&amp;nbsp;&lt;/A&gt;and&amp;nbsp;&lt;B&gt;install&amp;nbsp;&lt;/B&gt;Intel®&lt;B&gt;&amp;nbsp;&lt;/B&gt;VTune™ Profiler&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;Use&amp;nbsp;&lt;/B&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/command-line-interface/running-command-line-analysis/running-sgx-hotspots-analysis-from-the-command-line.html" rel="noopener noreferrer" target="_blank"&gt;sgx-hotspots&lt;/A&gt;&amp;nbsp;in the VTune command line:&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;vtune&amp;nbsp;-collect sgx-hotspots -- /home/test/myApplication&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You can read more about it here: &lt;A href="https://download.01.org/intel-sgx/latest/linux-latest/docs/Intel_SGX_Developer_Reference_Linux_2.11_Open_Source.pdf" rel="noopener noreferrer" target="_blank" style="font-size: var(--lwc-inputStaticFontSize,0.875rem);"&gt;Intel SGX Developer Reference for Linux&lt;/A&gt;&lt;SPAN style="font-size: var(--lwc-inputStaticFontSize,0.875rem);"&gt;,&lt;/SPAN&gt; section "Performance Measurement using Intel® VTune(TM) Amplifier"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Is this similar to what you are looking for?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Oct 2020 22:38:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1217363#M4029</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2020-10-13T22:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling SGX Applications With Coverage</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1218754#M4037</link>
      <description>&lt;P&gt;Thanks, but since the vast majority of my code is in the trusted part, I won't get much benefit from instrumenting the non-trusted part. What's the work-around you're referring to? I couldn't find any.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Oct 2020 08:56:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1218754#M4037</guid>
      <dc:creator>BenLD</dc:creator>
      <dc:date>2020-10-18T08:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Compiling Sgx Application With Coverage</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1218755#M4038</link>
      <description>&lt;P&gt;Thank you. Unfortunately, VTune won't work for me since I'm not looking to profile my project for performance issues, but rather use gcov (&lt;A href="https://gcc.gnu.org/onlinedocs/gcc/Gcov-Intro.html#Gcov-Intro" target="_blank"&gt;https://gcc.gnu.org/onlinedocs/gcc/Gcov-Intro.html#Gcov-Intro&lt;/A&gt;) or something similar to analyze tests coverage, e.g. which lines of code in my project is executed as result of the tests. Usually I just compile the code using GCC with the --coverage flag and execute the tests, but as stated in the original post, it doesn't work.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Oct 2020 09:01:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1218755#M4038</guid>
      <dc:creator>BenLD</dc:creator>
      <dc:date>2020-10-18T09:01:15Z</dc:date>
    </item>
    <item>
      <title>Re:Compiling Sgx Application With Coverage</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1221818#M4048</link>
      <description>&lt;P&gt;Hi Ben,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Good news. The open source DCAP Quote Verification Library uses Bullseye (bullseye.com) for code coverage testing: &lt;A href="https://github.com/intel/SGXDataCenterAttestationPrimitives/tree/master/QuoteVerification/QVL" target="_blank"&gt;https://github.com/intel/SGXDataCenterAttestationPrimitives/tree/master/QuoteVerification/QVL&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;They don't explicitly explain how to do it but you can explore the project files to see how they use Bullseye for coverage testing.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Oct 2020 14:15:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1221818#M4048</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2020-10-22T14:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Compiling Sgx Application With Coverage</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1222820#M4060</link>
      <description>&lt;P&gt;Thank you, but looking at their CMakeLists.txt it seems like they compile with --coverage, same as I do, but I get errors such as: undefined reference to `fclose`, possibly because of the way sgx modify the interaction with the filesystem as in here?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/intel/linux-sgx/blob/master/common/inc/sgx_tprotected_fs.h" target="_blank"&gt;https://github.com/intel/linux-sgx/blob/master/common/inc/sgx_tprotected_fs.h&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wonder how their code even compiles.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 10:18:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1222820#M4060</guid>
      <dc:creator>BenLD</dc:creator>
      <dc:date>2020-10-26T10:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling SGX Applications With Coverage</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1223024#M4064</link>
      <description>&lt;P&gt;Ben,&lt;/P&gt;
&lt;P&gt;You are trying to call the untrusted gcov library from within your enclave and that is why you are getting all those errors. In CMakeLists.txt, &lt;A href="https://github.com/intel/SGXDataCenterAttestationPrimitives/blob/master/QuoteVerification/QVL/Src/CMakeLists.txt" target="_blank" rel="noopener"&gt;https://github.com/intel/SGXDataCenterAttestationPrimitives/blob/master/QuoteVerification/QVL/Src/CMakeLists.txt&lt;/A&gt;, they use the --coverage flag under If (NOT BUILD_ENCLAVE).&lt;/P&gt;
&lt;P&gt;Refer to the Trusted Libraries section of the&amp;nbsp;&lt;A href="https://download.01.org/intel-sgx/latest/linux-latest/docs/Intel_SGX_Developer_Reference_Linux_2.11_Open_Source.pdf" target="_blank" rel="noopener noreferrer nofollow noopener noreferrer"&gt;Intel SGX Developer Reference for Linux&lt;/A&gt;&amp;nbsp;for more information on library calls you can make directly from within enclaves. Any other calls you need to make to functions outside of the enclave have to be wrapped in an OCALL.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 22:19:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1223024#M4064</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2020-10-26T22:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling SGX Applications With Coverage</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1223784#M4074</link>
      <description>&lt;P&gt;Thank you. So, basically, it's either I'm re-writing gcov or there's no way to generate coverage reports for the enclave code? In other words, there's currently no existing solution for estimating tests' code coverage of sgx applications?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 10:56:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1223784#M4074</guid>
      <dc:creator>BenLD</dc:creator>
      <dc:date>2020-10-29T10:56:43Z</dc:date>
    </item>
    <item>
      <title>Re:Compiling Sgx Application With Coverage</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1223957#M4075</link>
      <description>&lt;P&gt;Hello Ben,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In one of my previous responses I mentioned that the engineering team uses Bullseye (bullseye.com) for measuring code coverage within enclave code.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You can see how they use this tool in the Quote Verification Library, &lt;A href="https://github.com/intel/SGXDataCenterAttestationPrimitives/blob/ab8d31d72f842adb4b8a49eb3639f2e9a789d13b/QuoteVerification/QVL/README.md" target="_blank"&gt;https://github.com/intel/SGXDataCenterAttestationPrimitives/blob/ab8d31d72f842adb4b8a49eb3639f2e9a789d13b/QuoteVerification/QVL/README.md&lt;/A&gt;. Search for "Bullseye" and "coverage" in the Github repository. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am not familiar with Bullseye so, unfortunately, I cannot provide more details than this.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Oct 2020 22:14:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1223957#M4075</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2020-10-29T22:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Compiling Sgx Application With Coverage</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1224661#M4077</link>
      <description>&lt;P&gt;Thank you. I think bullseye is not the issue - they seem to compile with "--coverage" and then use bullseye, but I can't even get the code compiling with "--coverage" in the first place.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 10:24:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1224661#M4077</guid>
      <dc:creator>BenLD</dc:creator>
      <dc:date>2020-11-02T10:24:37Z</dc:date>
    </item>
    <item>
      <title>Re:Compiling Sgx Application With Coverage</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1225458#M4079</link>
      <description>&lt;P&gt;Hello Ben,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I'm sorry for causing confusion. It is not possible to gather coverage data from within an enclave. The workaround the engineering team uses is to use one ocall to transfer the coverage data out of the SGX enclave. I don't know if this is enough for you to figure out the solution but I am trying to get the next level of detail.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Nov 2020 17:04:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1225458#M4079</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2020-11-04T17:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Compiling Sgx Application With Coverage</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1227845#M4093</link>
      <description>&lt;P&gt;Thank you. Any news on how they do it?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 16:09:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1227845#M4093</guid>
      <dc:creator>BenLD</dc:creator>
      <dc:date>2020-11-12T16:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling SGX Applications With Coverage</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1227917#M4095</link>
      <description>&lt;P&gt;Hello BenLD,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have not heard back from engineering. It may be a while until I can get a response but I will respond here as soon as I have more guidance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 21:07:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Compiling-SGX-Applications-With-Coverage/m-p/1227917#M4095</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2020-11-12T21:07:28Z</dc:date>
    </item>
  </channel>
</rss>

