target/aarch64: a64 disassembler
Add A64 (AArch64) Disassembler using Capstone framework. Change-Id: Ia92b57001843b11a818af940a468b131e42a03fd Signed-off-by: Mete Balci <metebalci@gmail.com> [Antonio Borneo: Rebased on current HEAD] Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5004 Tested-by: jenkins
This commit is contained in:
committed by
Antonio Borneo
parent
a31e579e87
commit
d7d70c2719
30
src/target/a64_disassembler.h
Normal file
30
src/target/a64_disassembler.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2019 by Mete Balci *
|
||||
* metebalci@gmail.com *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef OPENOCD_TARGET_AARCH64_DISASSEMBLER_H
|
||||
#define OPENOCD_TARGET_AARCH64_DISASSEMBLER_H
|
||||
|
||||
#include "target.h"
|
||||
|
||||
int a64_disassemble(
|
||||
struct command_invocation *cmd,
|
||||
struct target *target,
|
||||
target_addr_t address,
|
||||
size_t count);
|
||||
|
||||
#endif /* OPENOCD_TARGET_AARCH64_DISASSEMBLER_H */
|
||||
Reference in New Issue
Block a user