Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arguments]

The tag has no usage guidance.

0
votes
1answer
57 views

Show arguments while debugging

I am a developer but I do not have much experience with IDA/reverse-engineering. Now I have to analyse a compiled program. Currently I try to debug a simple wininet.dll:wininet_InternetReadFile-...
3
votes
1answer
570 views

Understanding Program Arguments on the Stack in Assembly

To self-teach myself reverse engineering, I am writing small C programs and reversing them in order to understands how the compiler sees my code. However, I am having quite tough time understanding ...
-1
votes
1answer
134 views

Fixing IDA Member functions argument order

When IDA realizes a function relies on the this* pointer it often places as the second variable. Severely mucking up things. I was wondering is there away to fix this and maybe in turn help type ...
0
votes
1answer
50 views

Reading params of a text engine function amd86_64

I'm starting to learn amd86_64 calling convention and how it calls params and clean the stack but the concept hasn't sunk in yet, so i would like to get a help reading the params as this might clear ...
3
votes
1answer
299 views

Disassembled code: Find out command-line arguments of program

Imagine a program is launched (on windows) with a few starting parameters, for example a number and a string. When disassembling the program (With PEiD for example), how can I find out the starting ...
3
votes
2answers
149 views

Two arguments pushed on stack, callee only shows one argument

I have found myself confused while reversing some programs (specifically the IOLI Crackme challenges). I have no trouble solving them, but I have come across something that I do not understand and it ...
3
votes
1answer
297 views

How to figure out method argument sizes and types in elf32-i386 disasembly?

Consider folowing example code: program code build/program-x86: file format elf32-i386 Disassembly of section my_text: 080a9dfc <subroutine_fnc>: 80a9dfc: 55 push ...
1
vote
1answer
2k views

Passing argument through registers instead of the stack

I'm learning (and re-learning) C and assembly, and I came across a difference between what I've been taught and the actual result I have. Some code: int test(int a, int b){ return a + b; } int ...
0
votes
1answer
582 views

How to map a function argument to local variable?

Well, I've got an function that the pseudo code looks like: void d4l_auxadc_cali_unlocked_ioctl() { unsigned int v0; // r1@1 unsigned int v1; // r7@1 ... However, I am aware that the ...
0
votes
1answer
992 views

Right order of function arguments

i have the following function with three arguments: sub_602667B proc near arg_0 = dword ptr 4 arg_4 = dword ptr 8 arg_8 = dword ptr 0Ch push [esp+arg_8] push [esp+4+arg_4] push 15 ...