dynomite082002
asked on
what is this file ?
I have a cisco IP Phone product. In one of the directory,
there are a lot of xxxx.bin files.
I think bin mean binary. I also believe it is one kind of
java executable file. How do I take a look or decompiled
those xxx.bin files ?
there are a lot of xxxx.bin files.
I think bin mean binary. I also believe it is one kind of
java executable file. How do I take a look or decompiled
those xxx.bin files ?
Why don't you contact Cisco?
ASKER
I just want to take a look of how certain thing work.
So, Cisco will not be able to tell me, it is their secret.
So, Cisco will not be able to tell me, it is their secret.
I don't know of a java *.bin executable file. Look for *.class or *.jar files.
On uUnix .bin files are executable and you execute them by just typing their name (win no extension). In cisco they muight mean soemthing else. Take a look at the documentation and see what's going on.
Hope it helps.
Hope it helps.
All Java files have a signature, if you open the file with a HexEditor, and look at th first few bytes, if you see the word CAFEBABE, then you are looking at a java class file, if it is different then you are not (CAFEBABE is the signature defined (i think) in the binary file format of class files).
If the file is a java class file, then any decompiler will work.
GR.
If the file is a java class file, then any decompiler will work.
GR.
ASKER
I will go to get the HexEditor.
In fact, if you have the sun JDK installed (not sure about the others), copy one of hte .bin files to a new directory, and then run (from a command prompt)
javap -c xxx.bin
(Where xxx.bin is the filename you are trying to dissasemble).
This is the JDK decompiler, it isnt great, but will tell you of the file is in an official file format.
GR.
javap -c xxx.bin
(Where xxx.bin is the filename you are trying to dissasemble).
This is the JDK decompiler, it isnt great, but will tell you of the file is in an official file format.
GR.
If the file does not have the .class extension then it is probably not a java bytecode file. Why are you not looking at the cisco documentation to see what kind of file it is?
ASKER
I have looked at the documentation, and it does not tell
what is .bin file.
I used hexeditor to view the .bin file, I did not see CAFEBABE.
what is .bin file.
I used hexeditor to view the .bin file, I did not see CAFEBABE.
Are you on Unix/Linux? If you are try to do a ./<filename.bin> and tell us what happens. If it runs and produces an output it means that we are talking about unix executables.
Hope it helps.
Hope it helps.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
girionis,
I have sent the bin to your yahoo.com acct.
I have sent the bin to your yahoo.com acct.