tennistyvek89

tennistyvek89

ผู้เยี่ยมชม

emborgkelley96gdxuix@docmailz.com

  How Wales Became World's Top-ranked Aspect (4 อ่าน)

14 พ.ย. 2569 23:39

<p>The aim of this publish is to document how coding agents have and haven’t helped with the decompilation process. Whereas tro choi sòng bai an tien has been written about LLMs, far much less has been written about decompilation,1 so I’m adding another data level. A couple of lessons might apply past the N64. If you’ve bought suggestions to improve the workflow, please let me know! What's matching decompilation? Snowboard Kids 2 was written in C and compiled to MIPS machine code. The matching decompilation process includes analysing the MIPS meeting, inferring its behaviour, and writing C that, when compiled with the identical toolchain and settings, reproduces the exact code: same registers, delay slots, and instruction order.</p>

<p>Of course, this still doesn’t tell us what the operate is for within the broader codebase. 58164 to a minimum of four? Matching the bytes, nevertheless, is only the first step. A true match requires understanding the function’s intent by means of naming conventions, cross-references, and analysis of how the call sites behave. Matches also differ in high quality. A very good match is more than just C code that compiles to the precise bytes.Four It ought to appear to be one thing an N64-period developer would plausibly have written: easy, idiomatic C control flow and smart data structures.5 Prioritising plausibility pays off: later capabilities naturally share helpers and struct layouts, and you keep away from artefacts that solely exist to set off some quirk of the compiler.</p>

<p>Why do a matching decompilation in any respect? It deepens understanding of the engine, opens the door to new content, offers a stable base for tooling and, most importantly, it’s fun! 2. Try to supply matching code. 3. If I get stuck, import the perform domestically and bring in agents. 4. If the matching percentage reaches 100%, the operate is considered decompiled and work can cease. For comfort, it additionally begins a new Claude instance with directions to read the aforementioned file and ‘use thinking’. Additionally, you will get a score, with a score of 100% indicating an ideal match.</p>

<p>2. Look for an space the place the management move and directions don't match. Consider what the original builders probably supposed to write given the function’s broader goal. Print out an explanation for why they don’t match. 5. In case your doable resolution didn't enhance the match share, use instruments to analyse what went mistaken and summarise your idea. Then apply this idea to improving the match in your subsequent attempt. The aim of this workflow is to encourage the agent to establish and check small, incremental improvements. Claude would in any other case attempt to fix every thing directly, only to be confounded by the drop in match fee, which had too many possible causes to diagnose effectively.</p>

<p>Similarly, each attempt is made in a brand new file so that we will simply recuperate good matches. We wish to avoid conditions where an agent achieves a superb match but subsequently edits the file and degrades its quality. The trail of attempts can be a helpful reference for the agent. The requests in Step 2 and Step 5 for an evidence are meant to encourage the agent to (respectively) anticipate the impact of its adjustments and mirror on their outcomes.</p>

<p>Disassembly: dump a binary to MIPS meeting. Object file diff: disassemble and diff two object information with register-title normalisation. Line mapping: finest-effort mapping from disassembly strains to C strains (via the candidate’s debug symbols). Most of these utilities had been initially scaffolded by Claude and then customised for this project. They’re all available on Github. Brokers excel at bootstrapping one-off CLI instruments: setup is quick, and ongoing maintenance is minimal because the agent can regenerate or patch them as wanted.</p>

<img width="400" src="https://aeronuntung.it.com/images/BG-UY88.png">

<p>My workflow continues to be human-pushed, with brokers performing as analysis assistants. I decide features and try to decompile them first. A part of that is emotional. It’s more satisfying to determine things out yourself than to stare at a coding agent. Even when you wanted to, relying solely on an agent won’t get you far. We’re a long way from ‘vibe coding’ being viable for matching decompilation. Brokers are nice at spotting patterns and typically make stunning leaps. The place I see 2,000 lines of noise, Claude might spot an audio processing routine. They’re additionally patient sufficient to strive dozens of variations to see what nudges the match. Brokers strategy issues in distinct ways and sometimes produce completely different solutions.</p>

<p>I regularly run Claude and Codex in parallel to widen the search space and diversify ideas. Agents often stumble on fundamental arithmetic and bookkeeping that a human would do shortly. For instance, they battle to compute the proper byte offset of a struct subject. In addition they repeat small syntactic errors despite prompting. Claude is instructed to make use of C89 (i.e., the 1989 normal of C), nevertheless it usually forgets this, which results in trivial syntax errors.</p>

66.234.153.160

tennistyvek89

tennistyvek89

ผู้เยี่ยมชม

emborgkelley96gdxuix@docmailz.com

Powered by MakeWebEasy.com
เว็บไซต์นี้มีการใช้งานคุกกี้ เพื่อเพิ่มประสิทธิภาพและประสบการณ์ที่ดีในการใช้งานเว็บไซต์ของท่าน ท่านสามารถอ่านรายละเอียดเพิ่มเติมได้ที่ นโยบายความเป็นส่วนตัว  และ  นโยบายคุกกี้