avast / avast/retdec

Fileinfo produces 2.3 GB JSON output for a 1MB .NET sample

Open
#905 1 comment 0 reactions 0 assignees View on GitHub
bug C-fileinfo T-lang-dotnet
Dominant language
C++
Stars
8.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

`fileinfo` produces really large output for this sample: [9d8c24297257ba0759cd281b807d10b2aa54239a87d7e99e715ce37e8117de1f](https://www.virustotal.com/gui/file/9d8c24297257ba0759cd281b807d10b2aa54239a87d7e99e715ce37e8117de1f).
It's .NET, 1MB and its output has 2.3GB. It contains large `classes`, `methods`, `properties`, `fields`, referenced types.

`fileinfo --verbose --json 9d8c24297257ba0759cd281b807d10b2aa54239a87d7e99e715ce37e8117de1f`

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the report with the linked .NET sample using the `fileinfo --verbose --json` command. No source files or tests are named, so trace the `fileinfo` entry point and JSON generation for classes, methods, properties, fields, and referenced types; done means the sample no longer produces multi-gigabyte JSON output.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.