Running_Samples_Generated_for_Enclaves.htm 2.0 KB

12345678910111213141516171819202122232425262728293031
  1. <!--------------------------------------------------------------------------->
  2. <!-- Copyright (c) 2016 Intel Corporation. -->
  3. <!-- -->
  4. <!-- All rights reserved. This program and the accompanying materials -->
  5. <!-- are made available under the terms of the Eclipse Public License v1.0 -->
  6. <!-- which accompanies this distribution, and is available at -->
  7. <!-- http://www.eclipse.org/legal/epl-v10.html -->
  8. <!-- -->
  9. <!-- Contributors: -->
  10. <!-- Intel Corporation - initial implementation and documentation -->
  11. <!--------------------------------------------------------------------------->
  12. <?xml version="1.0" encoding="utf-8"?>
  13. <html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="2" MadCap:lastHeight="1123" MadCap:lastWidth="672">
  14. <head><title>Running Samples Generated for Enclaves</title>
  15. <link href="Resources/Stylesheets/intel_css_styles.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <h2>Running Samples Generated for Enclaves</h2>
  19. <p>Intel(R) Software Guard Extensions Eclipse* Plugin provides an option to generate a sample application together with the enclave code when the enclave is created. After the project is build, the sample application is built also and ready to run. You can see the sample application named sample in the enclave directory in Project Explorer. You can run this sample as a local C/C++ application as shown in the following figure:</p>
  20. <p>
  21. <img src="Resources/Images/Sample_Application.png" />
  22. </p>
  23. <p class="figcap">Sample Application</p>
  24. <p>See the result of the execution in Eclipse console window as shown below:</p>
  25. <p>
  26. <img src="Resources/Images/The_Result_of_Running_Samples_Generated_for_Enclaves.png" />
  27. </p>
  28. <p class="figcap">The Result of Running Samples Generated for Enclaves</p>
  29. </body>
  30. </html>