search for: bytess

Displaying 5 results from an estimated 5 matches for "bytess".

Did you mean: bytes
2011 Dec 19
3
[LLVMdev] Disassembly arbitrary machine-code byte arrays
...39;C' based interface you could use in is llvm/include/llvm-c/Disassembler.h, which in there is: /** * Disassemble a single instruction using the disassembler context specified in * the parameter DC. The bytes of the instruction are specified in the * parameter Bytes, and contains at least BytesSize number of bytes. The * instruction is at the address specified by the PC parameter. If a valid * instruction can be disassembled, its string is returned indirectly in * OutString whose size is specified in the parameter OutStringSize. This * function returns the number of bytes in the ins...
2011 Dec 20
0
[LLVMdev] Disassembly arbitrary machine-code byte arrays
...e you could use in is llvm/include/llvm-c/Disassembler.h, which in there is: > > /** >  * Disassemble a single instruction using the disassembler context specified in >  * the parameter DC.  The bytes of the instruction are specified in the >  * parameter Bytes, and contains at least BytesSize number of bytes.  The >  * instruction is at the address specified by the PC parameter.  If a valid >  * instruction can be disassembled, its string is returned indirectly in >  * OutString whose size is specified in the parameter OutStringSize.  This >  * function returns the number...
2011 Dec 19
0
[LLVMdev] Disassembly arbitrary machine-code byte arrays
Hi Aiden, The easiest thing I can do is to point you to the source of the "llvm-mc" tool, which does exactly what you ask in its "-disassemble" mode. The code is rather small, so it should be easy to work out. tools/llvm-mc Cheers, James -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Aidan Steele Sent:
2011 Dec 19
2
[LLVMdev] Disassembly arbitrary machine-code byte arrays
Hi, My apologies if this appears to be a very trivial question -- I have tried to solve this on my own and I am stuck. Any assistance that could be provided would be immensely appreciated. What is the absolute bare minimum that I need to do to disassemble an array of, say, ARM machine code bytes? Or an array of Thumb machine code bytes? For example, I might have an array of unsigned chars -- how
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...>len - 1).original }; - - SWFDEC_LOG ("adding jump to byte %u", jump.offset); - if (n_bytes < 0 && - (guint) -n_bytes > g_array_index (state->offsets, Offset, state->offsets->len - 1).original) { - compile_state_error (state, "attempting to jump %d bytess backwards at byte %u", - -n_bytes, g_array_index (state->offsets, Offset, state->offsets->len - 1).original); - return; - } - g_array_append_val (state->jumps, jump); -} - -/* must be called before adding the jump command to the bytecode */ -static void -compile_state_add_acti...