avast / avast/retdec

Decompiled C code contains __asm_int(128)

Open
#634 7 comments 0 reactions 0 assignees View on GitHub
C-bin2llvmir P-output
Dominant language
C++
Stars
8.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

I'm trying to do something a bit weird with the output program, and I need to compile it with some extra code. Unfortunately, I ended up finding the line `__asm_int(128);` in my code, but my compiler does not recognize it. I've tried to figure out how to fix it on my own but have had no luck. Can you help me adjust the output to make it compile?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not name a file, test, or entry point. Start by reproducing a decompilation that emits `__asm_int(128);`, then trace where that output is generated and determine what compilable output is expected. Done means the generated C code no longer contains an unrecognized construct for the reported compiler.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cpp
Domain
compilers, reverse-engineering
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.