aboutsummaryrefslogtreecommitdiff
path: root/element_detection.h
diff options
context:
space:
mode:
authorKelvin Zhang <zhangkelvin@google.com>2021-11-02 21:12:12 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-11-02 21:12:12 +0000
commitd9eed84a58f90af50d84b02ca6a38d805b425a95 (patch)
tree0a310ca653ef73c547d80da63c87fcb2c0636bcb /element_detection.h
parentb93686f638f824fe552b36a468f76a21b2cfefe8 (diff)
parentddc43dc959af1bcc906755144b1a993233caa3b2 (diff)
downloadzucchini-d9eed84a58f90af50d84b02ca6a38d805b425a95.tar.gz
Merge remote-tracking branch 'aosp/upstream-main' into dev am: a90c04389f am: ddc43dc959
Original change: https://android-review.googlesource.com/c/platform/external/zucchini/+/1877854 Change-Id: Id5e02db627de075e9548615777d76b927e7fed56
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 =