Search Results

Search: Posts Made By: Corona688
Forum: Programming 03-28-2019
4,533
Posted By Corona688
It's necessary sometimes, if you're building an...
It's necessary sometimes, if you're building an operating system for example, to insert special instructions here and there without the compiler's interference. That's the kind of thing asm() is...
Forum: Programming 03-28-2019
4,533
Posted By Corona688
Further, doing things you didn't ask the compiler...
Further, doing things you didn't ask the compiler to do is begging for trouble. The compiler loves to remove things you "don't use", to the point that if you never touch a variable in your program,...
Forum: Programming 03-28-2019
4,533
Posted By Corona688
Ah, now you're starting to jump between function...
Ah, now you're starting to jump between function with different amounts of local variables. Meaning these local variables may not actually be allocated properly when you use them or freed properly...
Forum: Programming 03-28-2019
4,533
Posted By Corona688
Because argv[0] actually exists, even in a...
Because argv[0] actually exists, even in a program with no arguments - it's the name of the calling program. Again, why should it segfault? What exact fault should it be catching here? ...
Forum: Programming 03-28-2019
4,533
Posted By Corona688
Why should your first program crash? You're not...
Why should your first program crash? You're not touching any memory you shouldn't, and one "ret" is as good as another as long as you've got the same size stack context, which you do to the last...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 01:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy