Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct Analysis of Lib File Sizes #42

Open
wonderzdh opened this issue Aug 23, 2024 · 0 comments
Open

Direct Analysis of Lib File Sizes #42

wonderzdh opened this issue Aug 23, 2024 · 0 comments

Comments

@wonderzdh
Copy link

Is your feature request related to a problem? Please describe.
Currently, the tool can only analyze the size of linked PE format files, and cannot directly analyze the size of lib files. This limits our understanding and optimization of the library files themselves.

Describe the solution you'd like
I would like the author to add a new feature that allows direct analysis of lib file sizes, without the need to link them into PE format first. This feature should be able to:

  1. Read and parse the lib file format
  2. Display the size of each object file (.obj) within the lib file
  3. List all symbols (functions and variables) in the lib and their sizes
  4. Provide overall size statistics for the lib file
  5. If possible, compare size changes between different versions of lib files

Describe alternatives you've considered

  1. Using other specialized lib analysis tools, but this requires switching between different tools, which is not convenient.
  2. Manually unpacking lib files and analyzing the .obj files within, but this process is tedious and prone to errors.
  3. Modifying the compilation process to generate intermediate files for analysis, but this might affect the normal build process.

Additional context
This feature would help developers better understand and optimize their library files, especially in scenarios where reducing the final executable size is necessary. It can help identify which parts of the code contribute most to the size, thus guiding optimization efforts. Additionally, for cross-platform development, being able to directly analyze lib files for different platforms would also be very helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant