This section explains how to create and populate an H2-backed BSim database from the Ghidra GUI.
To create a BSim database, first create a directory on your file system to contain the database.
Next, perform the following steps from the Ghidra Code Browser:
CreateH2BSimDatabaseScript.java
.We now populate the database with an executable which is contained in the Ghidra distribution.
<ghidra_install_dir>/GPL/DemanglerGnu/os/linux_x86_64/demangler_gnu_v2_41
using the default analysis options.AddProgramToH2BSimDatabaseScript.java
on this program.
example.mv.db
in the database directory.Next Section: Basic BSim Queries