diff options
author | Kelvin Zhang <zhangkelvin@google.com> | 2021-11-02 21:45:15 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-11-02 21:45:15 +0000 |
commit | 7be427590935bc88198d32004449ccfcf60b60d4 (patch) | |
tree | 0a310ca653ef73c547d80da63c87fcb2c0636bcb /element_detection.h | |
parent | 4ec021d20924840a50ba05f6bca56bac326cf0c8 (diff) | |
parent | 58b4d19a6b6c8a6790c31bb3d6fcd13a8892239b (diff) | |
download | zucchini-7be427590935bc88198d32004449ccfcf60b60d4.tar.gz |
Merge remote-tracking branch 'aosp/upstream-main' into dev am: a90c04389f am: ddc43dc959 am: d9eed84a58 am: 58b4d19a6b
Original change: https://android-review.googlesource.com/c/platform/external/zucchini/+/1877854
Change-Id: I31da7b51c793e73f8a66b1fd4ca9be90ae6e6df2
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 = |