ByteCue: Enhancing Bytecode Comment Generation with API Information
Rattachement africain : cn. Niveau de preuve : code pays fourni par la source.
Le résumé fourni par la source
Bytecode is an instruction set designed for efficient execution by a program interpreter. Unlike human-readable source code, bytecode is more challenging for programmers and researchers to understand. Bytecode is widely used in various software tasks, including malware and clone detection. To quickly and accurately understand the meaning of bytecode and further assist programmers in those software activities, we propose a bytecode comment generation approach called ByteCue, using a neural language model. Specifically, to obtain the structured information of the bytecode, we first generate the control flow graph (CFG) of the bytecode, simultaneously parsing the APIs called in the bytecode and serializing them. Then, we propose a Transformer-based model to learn the bytecode features for comment generation. By collecting JAR packages from well-known open source projects in the Maven repository, we ultimately created a dataset at the method level of size 122k. The experiment indicates that our approach surpasses state-of-the-art baselines in bytecode comment generation, achieving an average increase of 17.5% on BLEU-4 metrics, 16.1% on METEOR, and 8.6% on ROUGE-L, demonstrating its effectiveness and superiority. User studies show that ByteCue also surpasses existing methods in terms of informativeness and naturalness, further highlighting its practical value.
Ce résumé expose les affirmations des auteurs. BNTIC ne l’interprète pas comme une validation indépendante des résultats.
Le contrôle bibliographique ouvert
DOI retrouvé dans Crossref DOI retrouvé ; titre concordant.
- Titre Crossref
- ByteCue: Enhancing Bytecode Comment Generation with API Information
- Date Crossref
- 10/07/2026
- Éditeur
- Association for Computing Machinery (ACM)
- Type
- journal-article
Ce recoupement confirme des métadonnées liées au DOI. Il ne confirme ni la méthode ni les conclusions de l’étude, et il ne compte pas comme une seconde source scientifique indépendante.
Les institutions déclarées
Une affiliation ne permet pas de déduire la nationalité d’un auteur.