Bytecode vs Binary menu

User Tag List

Results 1 to 6 of 6
  1. #1
    dodoman's Avatar Private
    Reputation
    1
    Join Date
    Jan 2014
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Bytecode vs Binary

    So, my title is my question.

    Whats the difference between bytecode analysis and binary analysis.
    I alrady know, that bytecode analysis means compiled high level languages like java or c#
    and binaries means binaries like libs ...

    But whats the difference in the hex or binary view?

    Bytecode vs Binary
  2. #2
    Phygar's Avatar ( ͡° ͜ʖ ͡°)
    Reputation
    444
    Join Date
    Nov 2007
    Posts
    1,591
    Thanks G/R
    7/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    bytecode isn't machine code. Binaries are machine code.

  3. #3
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1515
    Join Date
    May 2008
    Posts
    2,433
    Thanks G/R
    81/336
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Phygar View Post
    bytecode isn't machine code.
    It's not? Since when?

    Edit: OP, I think you have your terminology confused. Binaries are any type of files containing non-human-readable data. This includes byte-code, machine code, assembly - whatever you want to call it. In the context of this and other reversing forums, a portable executable file is generally referred to as a binary.
    Last edited by Jadd; 01-24-2014 at 10:52 AM.

  4. #4
    Confucius's Avatar Super Moderator Don't Look Back in Anger

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1416
    Join Date
    Oct 2007
    Posts
    2,797
    Thanks G/R
    299/309
    Trade Feedback
    7 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Jadd View Post
    It's not? Since when?

    Edit: OP, I think you have your terminology confused. Binaries are any type of files containing non-human-readable data. This includes byte-code, machine code, assembly - whatever you want to call it. In the context of this and other reversing forums, a portable executable file is generally referred to as a binary.
    It isn't considered machine code if it requires another program to interpret it into machine code. Such as java bytecode and the JVM.

    @OP, Bytecode is a higher level language compiled to a low level language to be read by an interpreter in order to work on more than one type of machine. Binary files are files that can be completely functional without an installer or interpreter, often times these will not work on different types of operating systems like a bytecode program (java) will.
    Last edited by Confucius; 01-25-2014 at 11:54 AM.

  5. #5
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Confucius View Post
    It isn't considered machine code if it requires another program to interpret it into machine code. Such as java bytecode and the JVM.

    @OP, Bytecode is a higher level language compiled to a low level language to be read by an interpreter in order to work on more than one type of machine. Binary files are files that can be completely functional without an installer or interpreter, often times these will not work on different types of operating systems like a bytecode program (java) will.
    I agree with this definition because it was what I was told at university, studying CS.

    The binary files - running on a operating system directly - function through direct system calls that are dependant on the operating system architecture. Hence why a Windows binary will not work on a Linux system due to them having different instruction sets.

    Whereas .NET and the Java Virtual Machine (JVM) define their own instruction sets that can then be translated to any operating system in theory. It acts as another level, as the operating system can be defined as a virtual machine as well. This is why it is generally considered to be slower and why it is bytecode rather than a binary file.

    Also JVM seems to do a lot of just in time interpretation of code rather than having it precompiled, and using tools you can obtain the full original source code, often including comments. I do not know enough as to argue this either way or state why this is the case.

    There are too many loose definitions within CS.

  6. #6
    xalcon's Avatar Contributor ふたなり
    Authenticator enabled
    Reputation
    198
    Join Date
    Oct 2008
    Posts
    291
    Thanks G/R
    20/58
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    How do you call images, archives or any other non-text files then? I always called them binaries, but differentiating between executable and non-executable.
    "Threads should always commit suicide - they should never be murdered" - DirectX SDK

Similar Threads

  1. [Lol] Decode this binary
    By Le Froid in forum Community Chat
    Replies: 2
    Last Post: 03-01-2008, 02:41 AM
  2. Text-to-Binary :P
    By Le Froid in forum Community Chat
    Replies: 2
    Last Post: 01-22-2008, 04:08 PM
  3. Ascent Precompiled Binaries
    By merfed in forum WoW EMU Guides & Tutorials
    Replies: 17
    Last Post: 11-06-2007, 09:56 PM
  4. Learning Binary: Beginning
    By m_fatica in forum Community Chat
    Replies: 2
    Last Post: 02-26-2007, 08:24 AM
  5. Binary!
    By omgwhokillme in forum Community Chat
    Replies: 15
    Last Post: 01-18-2007, 02:07 PM
All times are GMT -5. The time now is 03:54 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search