Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6924281
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:38:36+00:00 2026-05-27T10:38:36+00:00

I have a compiler that compiles to undocumented bytecode for an undocumented VM. I’d

  • 0

I have a compiler that compiles to undocumented bytecode for an undocumented VM. I’d like to be able to compile to the same VM, but I’m not sure how to go about doing this. How do I learn to do this? Has anyone published a log or journal of them doing the same thing?

EDIT: I neglected to mention that this is the RobotC 3.0 compiler for LEGO Mindstorms. Before anyone suggests something else, I know all about nXc and similar projects, and they aren’t an option since I’m helping out a FIRST FTC robotics team, which is only allowed to use RobotC or LabView.

As for those of you who suggested that I target the language of the compiler, I’m not doing that yet because I hope that certain features of the hardware that aren’t exposed by the compiler will be exposed by the firmware, and because I want to do more custom memory management than permitted by RobotC.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:38:37+00:00Added an answer on May 27, 2026 at 10:38 am

    My inclination would be to disassemble the compiler. If it’s written in .NET (C#, VB.NET, etc.) or Java, there are decompilers that will give you something very close to the original source code (unless it’s obfuscated). Even if it’s C++ and you can only get assembly, the library calls might point you in the right direction.

    • x86 Disassembly/Disassemblers and Decompilers
    • ILSpy
    • JetBrains dotPeek
    • Java Decompiler

    If the bytecode is small, another option is to start with a “Hello world” program, compile it, make a small change, compile that, then diff the two bytecode results.

    If you can post some more information on the specific compiler/VM, perhaps someone else has experience with that.

    Edit: Given that this is a commercial product, it’s likely that reverse-engineering it through decompilation will violate its license agreement. RE’ing the bytecode might not (I’m no lawyer). It sounds like you’re in a Catch-22, though. If you succeed, you’re not using RobotC or LabView. If the contest only specifies that the code must run on the RobotC VM, it might be doable. Remember, though, that once you RE the bytecode you still have to write your own compiler before anyone can write any software. If you’re doing this for fun, great; otherwise it might not be feasible.

    I did find one interesting link based on a Master’s Thesis: Software Reverse Engineering

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some code that compiles and runs on MSVC++ but will not compile
So I have this compiler class that compiles some .mjava files but others it
I have a project that compiles and runs fine on my development machine but
Normaly MinGW (GCC C Compiler) recompiles only files that have beeen changed. But I
I have made a dll that compiles fine in 32bit mode, but when compiling
I have a system that compiles C# code at runtime. I would like the
I have an iPhone app that compiles and runs fine in the Simulator on
I have a business object that compiles into a DLL that handles all calculations
I have the following code that compiles and works well: template<typename T> T GetGlobal(const
I need to have a process that compiles daily data into an PDF that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.