[decompiler] automatically label things when possible (#784)

* improve label system

* clean up menu

* debug menu working, still need to fix tests

* fix tests and clean up
This commit is contained in:
water111
2021-08-29 11:13:06 -04:00
committed by GitHub
parent 24fe2c78c0
commit d9f9e076af
54 changed files with 11632 additions and 2950 deletions
+1 -1
View File
@@ -331,7 +331,7 @@ std::string ObjectFileDB::generate_dgo_listing() {
for (const auto& name : dgo_names) {
result += "(\"" + name + "\"\n";
for (auto& obj_rec : obj_files_by_dgo[name]) {
auto obj = lookup_record(obj_rec);
auto& obj = lookup_record(obj_rec);
std::string extension = ".o";
if (obj.obj_version == 4 || obj.obj_version == 2) {
extension = ".go";