diff options
author | Kelvin Zhang <zhangkelvin@google.com> | 2021-11-02 21:12:12 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-11-02 21:12:12 +0000 |
commit | d9eed84a58f90af50d84b02ca6a38d805b425a95 (patch) | |
tree | 0a310ca653ef73c547d80da63c87fcb2c0636bcb /element_detection.h | |
parent | b93686f638f824fe552b36a468f76a21b2cfefe8 (diff) | |
parent | ddc43dc959af1bcc906755144b1a993233caa3b2 (diff) | |
download | zucchini-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.h | 3 |
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 = |