You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm just learning assembly, so please excuse me if I use the wrong technical terms.
Environment information
Operating System: Windows 11 Pro 22H2
Cutter version: 2.3.1
Obtained from:
Built from source
Downloaded release from Cutter website or GitHub
Distribution repository
File format: exe
Describe the bug
Cutter assigns wrong variable names for main function parameters (argc, argv and envp).
Where it should show argc, it shows argv. Where it should show argv, it shows envp.
I'm just learning assembly, so please excuse me if I use the wrong technical terms.
Environment information
Describe the bug
Cutter assigns wrong variable names for
main
function parameters (argc
,argv
andenvp
).Where it should show
argc
, it showsargv
. Where it should showargv
, it showsenvp
.To Reproduce
Steps to reproduce the behavior:
Good_Luck
from this tutorial: https://www.begin.re/playground-exercises (zip password: CLEAN)main
function accordingly to the following screenshots.Expected behavior
argv
should be corrected toargc
.envp
should be corrected toargv
.Screenshots
This is IDA's variable names:
This is Cutter's variable names:
Cutter Preferences:
Additional context
Apparently, the variable name is being set to the next parameter, instead of the right one.
Maybe this same problem is happening in other functions (not only
main
)? For example, for any given functionCutter would show
param2
instead ofparam1
,param3
instead ofparam2
,param4
instead ofparam3
,paramN
instead ofparamN-1
and so on.I'm very new to Assembly and I don't know how to test it though.
The text was updated successfully, but these errors were encountered: