Class LinkResult


  • public class LinkResult
    extends java.lang.Object
    Output from the Crystal Palace linker
    Author:
    Raphael Mudge
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected byte[] program
      Linker output (e.g., PIC, COFF, PICO)
      protected byte[] rules
      Yara rules (if generated)
    • Constructor Summary

      Constructors 
      Constructor Description
      LinkResult()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getProgram()
      Get the linker output
      byte[] getRules()
      Get the Yara rules generated by our linker.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • program

        protected byte[] program
        Linker output (e.g., PIC, COFF, PICO)
      • rules

        protected byte[] rules
        Yara rules (if generated)
    • Constructor Detail

      • LinkResult

        public LinkResult()
    • Method Detail

      • getProgram

        public byte[] getProgram()
        Get the linker output
        Returns:
        content of our PIC, COFF, or PICO
      • getRules

        public byte[] getRules()
        Get the Yara rules generated by our linker. The content is plaintext (platform encoding)
        Returns:
        content of our Yara file