Class DebugImage

  • All Implemented Interfaces:
    IUnknownPropertiesConsumer

    public final class DebugImage
    extends java.lang.Object
    implements IUnknownPropertiesConsumer
    Legacy apple debug images (MachO).

    This was also used for non-apple platforms with similar debug setups.

    A generic (new-style) native platform debug information file.

    The `type` key must be one of:

    - `macho` - `elf`: ELF images are used on Linux platforms. Their structure is identical to other native images. - `pe`

    Examples:

    ```json { "type": "elf", "code_id": "68220ae2c65d65c1b6aaa12fa6765a6ec2f5f434", "code_file": "/lib/x86_64-linux-gnu/libgcc_s.so.1", "debug_id": "e20a2268-5dc6-c165-b6aa-a12fa6765a6e", "image_addr": "0x7f5140527000", "image_size": 90112, "image_vmaddr": "0x40000", "arch": "x86_64" } ```

    ```json { "type": "pe", "code_id": "57898e12145000", "code_file": "C:\\Windows\\System32\\dbghelp.dll", "debug_id": "9c2a902b-6fdf-40ad-8308-588a41d572a0-1", "debug_file": "dbghelp.pdb", "image_addr": "0x70850000", "image_size": "1331200", "image_vmaddr": "0x40000", "arch": "x86" } ```

    ```json { "type": "macho", "debug_id": "84a04d24-0e60-3810-a8c0-90a65e2df61a", "debug_file": "libDiagnosticMessagesClient.dylib", "code_file": "/usr/lib/libDiagnosticMessagesClient.dylib", "image_addr": "0x7fffe668e000", "image_size": 8192, "image_vmaddr": "0x40000", "arch": "x86_64", } ```

    Proguard mapping file.

    Proguard images refer to `mapping.txt` files generated when Proguard obfuscates function names. The Java SDK integrations assign this file a unique identifier, which has to be included in the list of images.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PROGUARD  
    • Constructor Summary

      Constructors 
      Constructor Description
      DebugImage()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void acceptUnknownProperties​(@NotNull java.util.Map<java.lang.String,​java.lang.Object> unknown)  
      @Nullable java.lang.String getArch()  
      @Nullable java.lang.String getCodeFile()  
      @Nullable java.lang.String getCodeId()  
      @Nullable java.lang.String getDebugFile()  
      @Nullable java.lang.String getDebugId()  
      @Nullable java.lang.String getImageAddr()  
      @Nullable java.lang.Long getImageSize()  
      @Nullable java.lang.String getType()  
      @Nullable java.lang.String getUuid()  
      void setArch​(@Nullable java.lang.String arch)  
      void setCodeFile​(@Nullable java.lang.String codeFile)  
      void setCodeId​(@Nullable java.lang.String codeId)  
      void setDebugFile​(@Nullable java.lang.String debugFile)  
      void setDebugId​(@Nullable java.lang.String debugId)  
      void setImageAddr​(@Nullable java.lang.String imageAddr)  
      void setImageSize​(long imageSize)
      Sets the image size.
      void setImageSize​(@Nullable java.lang.Long imageSize)  
      void setType​(@Nullable java.lang.String type)  
      void setUuid​(@Nullable java.lang.String uuid)  
      • Methods inherited from class java.lang.Object

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

      • DebugImage

        public DebugImage()
    • Method Detail

      • getUuid

        @Nullable
        public @Nullable java.lang.String getUuid()
      • setUuid

        public void setUuid​(@Nullable
                            @Nullable java.lang.String uuid)
      • getType

        @Nullable
        public @Nullable java.lang.String getType()
      • setType

        public void setType​(@Nullable
                            @Nullable java.lang.String type)
      • getDebugId

        @Nullable
        public @Nullable java.lang.String getDebugId()
      • setDebugId

        public void setDebugId​(@Nullable
                               @Nullable java.lang.String debugId)
      • getDebugFile

        @Nullable
        public @Nullable java.lang.String getDebugFile()
      • setDebugFile

        public void setDebugFile​(@Nullable
                                 @Nullable java.lang.String debugFile)
      • getCodeFile

        @Nullable
        public @Nullable java.lang.String getCodeFile()
      • setCodeFile

        public void setCodeFile​(@Nullable
                                @Nullable java.lang.String codeFile)
      • getImageAddr

        @Nullable
        public @Nullable java.lang.String getImageAddr()
      • setImageAddr

        public void setImageAddr​(@Nullable
                                 @Nullable java.lang.String imageAddr)
      • getImageSize

        @Nullable
        public @Nullable java.lang.Long getImageSize()
      • setImageSize

        public void setImageSize​(@Nullable
                                 @Nullable java.lang.Long imageSize)
      • setImageSize

        public void setImageSize​(long imageSize)
        Sets the image size.
        Parameters:
        imageSize - the image size.
      • getArch

        @Nullable
        public @Nullable java.lang.String getArch()
      • setArch

        public void setArch​(@Nullable
                            @Nullable java.lang.String arch)
      • getCodeId

        @Nullable
        public @Nullable java.lang.String getCodeId()
      • setCodeId

        public void setCodeId​(@Nullable
                              @Nullable java.lang.String codeId)