Memory leaks and ineffective bounds checking in wasm_scan
[deliverable/binutils-gdb.git] / opcodes / aarch64-asm.h
index 0589c9cfc273899b508ca86a6ba4b112f85f29aa..6f88d86fe0bca51354c253f1b3017b7800d1ebc6 100644 (file)
@@ -1,5 +1,5 @@
 /* aarch64-asm.h -- Header file for aarch64-asm.c and aarch64-asm-2.c.
 /* aarch64-asm.h -- Header file for aarch64-asm.c and aarch64-asm-2.c.
-   Copyright (C) 2012-2018 Free Software Foundation, Inc.
+   Copyright (C) 2012-2020 Free Software Foundation, Inc.
    Contributed by ARM Ltd.
 
    This file is part of the GNU opcodes library.
    Contributed by ARM Ltd.
 
    This file is part of the GNU opcodes library.
@@ -30,15 +30,17 @@ const aarch64_opcode* aarch64_find_real_opcode (const aarch64_opcode *);
 
 /* Switch-table-based high-level operand inserter.  */
 
 
 /* Switch-table-based high-level operand inserter.  */
 
-const char* aarch64_insert_operand (const aarch64_operand *,
+bfd_boolean aarch64_insert_operand (const aarch64_operand *,
                                    const aarch64_opnd_info *, aarch64_insn *,
                                    const aarch64_opnd_info *, aarch64_insn *,
-                                   const aarch64_inst *);
+                                   const aarch64_inst *,
+                                   aarch64_operand_error *);
 
 /* Operand inserters.  */
 
 #define AARCH64_DECL_OPD_INSERTER(x)   \
 
 /* Operand inserters.  */
 
 #define AARCH64_DECL_OPD_INSERTER(x)   \
-  const char* aarch64_##x (const aarch64_operand *, const aarch64_opnd_info *, \
-                          aarch64_insn *, const aarch64_inst *)
+  bfd_boolean aarch64_##x (const aarch64_operand *, const aarch64_opnd_info *, \
+                          aarch64_insn *, const aarch64_inst *, \
+                          aarch64_operand_error *)
 
 AARCH64_DECL_OPD_INSERTER (ins_regno);
 AARCH64_DECL_OPD_INSERTER (ins_reglane);
 
 AARCH64_DECL_OPD_INSERTER (ins_regno);
 AARCH64_DECL_OPD_INSERTER (ins_reglane);
This page took 0.028104 seconds and 4 git commands to generate.