Skip to content

Commit

Permalink
rename XbSymbolDatabaseTool to upstream name
Browse files Browse the repository at this point in the history
  • Loading branch information
RadWolfie authored and mborgerson committed Sep 21, 2024
1 parent dec80d0 commit c5409ed
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ dist/
/bin/
.classpath
.project
XbSymbolDatabaseTool*
XbSymbolDatabaseCLI*
src/main/java/XbeLoader/XbeXtlidDb.java
16 changes: 8 additions & 8 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ export XBSYMBOLDATABASE=$PWD/XbSymbolDatabase
popd # Back to source root

# Copy XbSymbolDatabase into this source tree for redist
cp $XBSYMBOLDATABASE/linux_x64/bin/XbSymbolDatabaseCLI os/linux_x86_64/XbSymbolDatabaseTool
cp $XBSYMBOLDATABASE/LICENSE os/linux_x86_64/XbSymbolDatabaseTool.LICENSE
cp $XBSYMBOLDATABASE/macos_x64/bin/XbSymbolDatabaseCLI os/mac_x86_64/XbSymbolDatabaseTool
cp $XBSYMBOLDATABASE/LICENSE os/mac_x86_64/XbSymbolDatabaseTool.LICENSE
cp $XBSYMBOLDATABASE/win_x64/bin/XbSymbolDatabaseCLI.exe os/win_x86_64/XbSymbolDatabaseTool.exe
cp $XBSYMBOLDATABASE/LICENSE os/win_x86_64/XbSymbolDatabaseTool.LICENSE
cp $XBSYMBOLDATABASE/linux_x64/bin/XbSymbolDatabaseCLI os/linux_x86_64/XbSymbolDatabaseCLI
cp $XBSYMBOLDATABASE/LICENSE os/linux_x86_64/XbSymbolDatabaseCLI.LICENSE
cp $XBSYMBOLDATABASE/macos_x64/bin/XbSymbolDatabaseCLI os/mac_x86_64/XbSymbolDatabaseCLI
cp $XBSYMBOLDATABASE/LICENSE os/mac_x86_64/XbSymbolDatabaseCLI.LICENSE
cp $XBSYMBOLDATABASE/win_x64/bin/XbSymbolDatabaseCLI.exe os/win_x86_64/XbSymbolDatabaseCLI.exe
cp $XBSYMBOLDATABASE/LICENSE os/win_x86_64/XbSymbolDatabaseCLI.LICENSE

# Add execute permissions to Linux and macOS XbSymbolDatabase binaries
chmod +x os/linux_x86_64/XbSymbolDatabaseTool
chmod +x os/mac_x86_64/XbSymbolDatabaseTool
chmod +x os/linux_x86_64/XbSymbolDatabaseCLI
chmod +x os/mac_x86_64/XbSymbolDatabaseCLI

echo "[*] Building..."
xsltproc -o src/main/java/XbeLoader/XbeXtlidDb.java xtlid2java.xslt /tmp/xtlid.xml
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/XbeLoader/XbeXbSymbolDatabaseAnalyzer.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
*/
public class XbeXbSymbolDatabaseAnalyzer extends AbstractAnalyzer {

private static final String xbsdb_tool_exec = "XbSymbolDatabaseTool";
private static final String xbsdb_tool_exec_wins = "XbSymbolDatabaseTool.exe";
private static final String xbsdb_tool_exec = "XbSymbolDatabaseCLI";
private static final String xbsdb_tool_exec_wins = "XbSymbolDatabaseCLI.exe";

public XbeXbSymbolDatabaseAnalyzer() {
super("Xbox Symbol Database Analyzer", "Scan XBE for known library functions", AnalyzerType.BYTE_ANALYZER);
Expand Down

0 comments on commit c5409ed

Please sign in to comment.