disassembly Questions
6
Solved
For one reason or another, I sometimes find it useful or just interesting to look at the optimised compiler output for a function.
For unmanaged C/C++ code, my favourite way to do this has been to...
Unyoke asked 6/8, 2010 at 12:3
11
Solved
I was told to use a disassembler. Does gcc have anything built in? What is the easiest way to do this?
Sauterne asked 26/2, 2011 at 8:38
12
Solved
I've got a binary installed on my system, and would like to look at the disassembly of a given function. Preferrably using objdump, but other solutions would be acceptable as well.
From this quest...
Deputation asked 31/3, 2014 at 18:22
6
I have an object file and am trying to disassemble it. When I use:
objdump -d example.o
I get an assembly in code in the file format of elf64-x86-64.
I am trying to disassemble this into ARM, h...
Nihility asked 4/10, 2010 at 21:57
4
Solved
void outputString(const char *str) {
cout << "outputString(const char *str) : " << str << endl;
}
turns out to be
Dump of assembler code for function _Z12outputStringPKc:
0x...
Auxiliaries asked 24/12, 2009 at 7:32
3
We know that disassembling instructions after a given address (inclusive) can be achieved by something like:
x/5i address
which will print 5 instructions, but how do I disassemble the previous i...
Windowlight asked 5/5, 2013 at 2:14
2
Solved
Is it possible to view the machine code (x86 instructions) that a browser ultimately generates from my JavaScript? E.g.
--- Raw source ---
function add(a, b){
return a + b;
}
...
--- Code ---
sou...
Reciprocal asked 19/12, 2019 at 14:38
3
I am trying to disassemble my .NET core 3.1 binary using the latest build of dnSpy but am getting output like this:
The original method:
public async Task<List<FirmwarePackage>> Calcul...
Kiddy asked 2/12, 2020 at 14:46
6
Solved
I'm not sure if it's possible. I want to study OpenCL in-depth, so I was wondering if there is a tool to disassemble an compiled OpenCL kernel.
For normal x86 executable, I can use objdump to get ...
Prolusion asked 14/7, 2011 at 6:25
5
{"Could not load file or assembly 'AssemblyName, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from...
Content asked 29/1, 2014 at 15:19
1
Visual studio 2019 supports a Function named 'View disassembly code in the Visual Studio debugger'.
But I want to use 'View disassembly code in debugger' in Rider, not in visual studio 2019.
Can I ...
Illustrate asked 28/3, 2021 at 16:35
1
Solved
For example if I'm in perf report I can press enter to follow a branch. If a bin was using -g some source shows up too.
I don't really need the source but it'd be very convenient if I could follow ...
Bipetalous asked 14/12, 2022 at 4:30
2
Solved
I'm having a hard time trying to (Dis)assemble a dll using the Visual Studio command prompt, don't look that simple as I see in the microsoft page.
I'm using the ildasm for these way:
ildasm myLi...
Florinda asked 26/8, 2018 at 5:8
11
Solved
I'm trying to disassemble a program to see a syscall assembly instruction (the INT instruction, I believe) and the handler with GDB and have written a little program (see below) for it that opens a...
Legacy asked 6/8, 2009 at 7:54
2
Solved
I was going through the assembly code generated by the compiler. I am using the C programming language and GCC compiler.
I wrote a function in C which adds two numbers by calling another function a...
Afghani asked 3/6, 2022 at 13:44
3
Solved
What is the right architecture to get objdump to disassemble raw x64 code? You would think -m x86-64 should work from reading the help, but it doesn't. I tried with both the cygwin64 version:
$ ob...
Innovation asked 28/9, 2013 at 20:42
2
I have copied a picture of an assignment I have on MIPS assembly.
I understand (I think) what happens in the code until the line:
beq $11, $0, 3
I understand that the code now makes a PC-RELATIVE ...
Vitrics asked 7/8, 2014 at 21:10
1
Solved
Looking for ways to see generated assembler of a specific function in my binary (an .so to be exact), just as I can see similar on Compiler Explorer, I found How to disassemble one single function ...
Highkeyed asked 9/3, 2022 at 13:47
1
Solved
I've been putting together my own disassembler for Sega Mega Drive ROMs, basing my initial work on the MOTOROLA M68000 FAMILY Programmer’s Reference Manual. Having disassembled a considerable chunk...
Orson asked 27/2, 2022 at 10:10
6
Solved
I have an issue where I need to be able to have a compiled exe ( .net 3.5 c# ) that I will make copies of to distribute that will need to change a key for example before the exe is sent out.
I can...
Walkerwalkietalkie asked 30/4, 2010 at 6:0
2
Solved
When disassembling/dumping exe I get three tables in the .idata import section:
import table (IT)
import adress table (IAT)
import name table (INT)
I understand what the IAT and INT are, but w...
Natty asked 29/9, 2015 at 10:13
2
Solved
I'm trying to figure out what all of the elements of this objdump -d mean.
for example i have:
08048b50 <phase_1>:
8048b50: 83 ec 1c sub $0x1c,%esp
8048b53: c7 44 24 04 68 a2 04 movl $0x80...
Tris asked 13/2, 2014 at 0:19
4
Solved
Given a C Python frame pointer, how do I look at arbitrary evaluation stack entries? (Some specific stack entries can be found via locals(), I'm talking about other stack entries.)
I asked a broad...
Krall asked 3/6, 2017 at 16:58
1
I am having some issues with writing a 64-Bit fastcall function trough shellcode, and the issue is that it seems to mess with other functions being called before and after it and despite working, a...
Fat asked 27/2, 2021 at 12:47
3
Solved
Suppose I have function fn somewhere within the .text section of an ELF64 executable. Is there a way to know at which offset (in bytes) from the start of the ELF file the fn function is located? No...
Ibbison asked 25/10, 2016 at 10:18
1 Next >
© 2022 - 2024 — McMap. All rights reserved.