Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#kAToi issue-return value is not correct #1

Open
YWHyuk opened this issue Feb 24, 2019 · 0 comments
Open

#kAToi issue-return value is not correct #1

YWHyuk opened this issue Feb 24, 2019 · 0 comments

Comments

@YWHyuk
Copy link
Owner

YWHyuk commented Feb 24, 2019

static void kStringToDecimalHexTest( int iArgc, const char** pcArgv ){
...
for(i = 1; i < iArgc; i++){
	kPrintf("Param[%d] = '%s', ",i,pcArgv[i]);
	if(kMemCmp(pcArgv[i],"0x",2) == 0 ){
		lValue = kAToI((pcArgv[i])+2, 16);**
		kReadMemory(40, 21, &lValue);**
		if(lValue==-1){
			kPrintf("Not Supported Format...\n");
		}
...
}

QWORD kAToI( const char* pcBuffer, int iRadix){
...
    kReadMemory(40, 20, &lReturn);**
    return lReturn;
}

strtod

kReadMemory is the function that shows the memory. the image is the result of the result of kReadMemory. kAToi's return value is passed incorrectly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant