al3xtjames / ghidra-firmware-utils

Ghidra utilities for analyzing PC firmware
Other
386 stars 43 forks source link

Fixing compile-time error in TE Loader by removing extraneous argument from 'Msg.showWarn' #12

Closed nstarke closed 3 years ago

nstarke commented 3 years ago

I was receiving the following compile-time error when building the project:

> Task :compileJava
/home/nstarke/Documents/tools/ghidra-firmware-utils/src/main/java/firmware/uefi_te/TELoader.java:132: error: method showWarn in class Msg cannot be applied to given types;
                                        Msg.showWarn(this, null, getName() + " Loader",
                                           ^
  required: Object,Component,String,Object
  found: TELoader,<null>,String,String,AddressOverflowException
  reason: actual and formal argument lists differ in length
1 error

This commit fixes this issue and allows for compilation to complete successfully.

al3xtjames commented 3 years ago

Thanks, I made some changes and merged this.