Annotation Interface AnnotatedEmuSyscallUseropLibrary.EmuSyscall

Enclosing class:
AnnotatedEmuSyscallUseropLibrary<T>

@Retention(RUNTIME) @Target(METHOD) public static @interface AnnotatedEmuSyscallUseropLibrary.EmuSyscall
An annotation to export a method as a system call in the library.

The method must also be exported in the userop library, likely via @PcodeUserop.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the syscall, which must match the actual name given in the syscall map.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Set to indicate this name overrides the same name inherited from any superclass/interface.
  • Element Details

    • value

      String value
      The name of the syscall, which must match the actual name given in the syscall map.
      Returns:
      the name
      See Also:
    • override

      boolean override
      Set to indicate this name overrides the same name inherited from any superclass/interface.

      If names collide from the same class, or that from the extension class does not have this flag, an error occurs at library construction.

      Returns:
      true to allow overrides.
      Default:
      false