aboutsummaryrefslogtreecommitdiff
path: root/element_detection.h
diff options
context:
space:
mode:
authorKelvin Zhang <zhangkelvin@google.com>2021-11-02 21:56:43 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-11-02 21:56:43 +0000
commit8be98142ecdba40b2ea9be10b11a23f4e6b67b05 (patch)
tree0a310ca653ef73c547d80da63c87fcb2c0636bcb /element_detection.h
parentb77318bc7ecfba25e4966b56b9e9ab593925ad9d (diff)
parent7be427590935bc88198d32004449ccfcf60b60d4 (diff)
downloadzucchini-8be98142ecdba40b2ea9be10b11a23f4e6b67b05.tar.gz
Merge remote-tracking branch 'aosp/upstream-main' into dev am: a90c04389f am: ddc43dc959 am: d9eed84a58 am: 58b4d19a6b am: 7be4275909
Original change: https://android-review.googlesource.com/c/platform/external/zucchini/+/1877854 Change-Id: Ifdb1f7882cc237258a3395d28158d50bb4b43136
Diffstat (limited to 'element_detection.h')
-rw-r--r--element_detection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/element_detection.h b/element_detection.h
index 856ec27..febedc5 100644
--- a/element_detection.h
+++ b/element_detection.h
@@ -28,6 +28,9 @@ std::unique_ptr<Disassembler> MakeDisassemblerWithoutFallback(
std::unique_ptr<Disassembler> MakeDisassemblerOfType(ConstBufferView image,
ExecutableType exe_type);
+// Returns the version associated with disassembler of type |exe_type|.
+uint16_t DisassemblerVersionOfType(ExecutableType exe_type);
+
// Attempts to detect an element associated with |image| and returns it, or
// returns nullopt if no element is detected.
using ElementDetector =