question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error during import 19MB dll file

See original GitHub issue

About 20 hours after I started importing the 19MB dll file with ghidra, the following error was displayed and stuck. Failed to markup CustomAttribute: Cannot invoke "ghidra.app.util.bin.format.pe.cli.blobs.CliAbstractSig$CliElementType.name()" because the return value of "ghidra.app.util.bin.format.pe.cli.blobs.CliBlobCustomAttrib$CliNamedArg.getFieldOrPropType()" is null It stuck the same when I imported it before. There was no change when I waited for more than 3 hours.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:8

github_iconTop GitHub Comments

2reactions
ghidra1commented, Nov 2, 2022

I have added some performance improvements which will greatly improve the performance of the import based on the test.dll sample. The changes optimize certain structure build-up and resolution cases. This change is targeted for 10.2.1 release. The import of your test.dll sample completed in 2-minutes with my changes in place. There are additional .NET related improvements needed but I am uncertain when these will be completed.

My focus for my change was performance related only. I did not observe the errors you noted, although there are numerous other warnings produced which I did not look into.

0reactions
ghidra1commented, Mar 18, 2022

It appears there may be excessive reuse of the same datatype name within complex structures generated by the CLI processing code. During the resolve process with a deep nesting, encountering the same datatype path multiple times with different definitions can cause a cyclic dependency error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Application error in importer DLL "Windows
dll ' while importing VCF file to Windows 10 Contacts folder. Hi, I have exported my Android cellphone contacts into a single VCF...
Read more >
Error message: "Unable to find the filter to import [...] with"
The error message "Unable to find the filter to import that file with" is the result of limited administrator privileges in Windows.
Read more >
1:0): Cannot import dll:%AppData%\Local\VCLStylesSkin ...
Cause. As the error message suggests, the reason why this error is encountered because the VclStylesIno.dll file does not exist in the specified...
Read more >
Why do I get an error regrading missing DLL when importing ...
The issue is that the FMU you try to load only contains a 32-bit DLL that cannot be used on 64-bit MATLAB (or...
Read more >
"Import DLL libsndfile-1.dll cannot be loaded" [Windows]
Error Message: "Import DLL libsndfile-1.dll cannot be loaded" [Windows] · Locate and delete the following files on your system: C:\Windows\System32\libsndfile-1.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found