  bool is_valid_sp(uintptr_t sp);
 --- /dev/null
 +++ BUILD
-@@ -0,0 +1,1283 @@
+@@ -0,0 +1,1291 @@
 +# linux-sgx is the Intel SGX SDK
 +
 +load(

+    ],
+)
+
+cc_binary(
+    name = "sgx_sign_tool",
+    srcs = [
+        "external/tinyxml2/tinyxml2.cpp",
+        "external/tinyxml2/tinyxml2.h",
+        "sdk/sign_tool/SignTool/elf_helper.h",
+        "sdk/sign_tool/SignTool/enclave_creator_sign.cpp",
+        "sdk/sign_tool/SignTool/enclave_creator_sign.h",

+        "-Iexternal/linux_sgx/sdk/sign_tool/SignTool",
+        "-Iexternal/linux_sgx/common/inc/internal/linux",
+        "-Iexternal/boringssl",
+    ],
+    visibility = ["//visibility:public"],
+    deps = [
+        ":common_inc",
+        ":common_inc_internal",
+        ":external_tinyxml2",
+        ":untrusted_inc_internal",
+        ":urts_select",
+        "@boringssl//:crypto",
