March 30 DIP Ideas » Re: Type state analysis | |||
|---|---|---|---|
| |||
...as per makeNull return state
*var = 42;
// segfault due to var being null
}
```
What we... | |||
March 29 General » Re: Memory safe in D | |||
|---|---|---|---|
| |||
...as per makeNull return state
*var = 42;
// segfault due to var being null
}
```
What we... | |||
March 27 Learn » Unittests pass, and then an invalid memory operation happens after? | |||
|---|---|---|---|
| |||
...few lines replaces this error with a segfault, but either way, these errors shouldn't... | |||
March 26 General » Re: Memory safe in D | |||
|---|---|---|---|
| |||
...that tells you where your code might segfault because of a null dereference is even... | |||
March 24 Learn » Re: Reworking the control flow for my tactical role-playing game | |||
|---|---|---|---|
| |||
...destructor was missing in `Map.deleteUnit`. The segfault happens whenever a unit is destroyed. In... | |||
March 23 Learn » Re: Reworking the control flow for my tactical role-playing game | |||
|---|---|---|---|
| |||
...the AI system, and I had a segfault every time the enemy was in reach... | |||
March 13 General » Re: Memory safe in D | |||
|---|---|---|---|
| |||
...that simply letting the OS handle the segfault is sufficient for 98% of the use... | |||
March 12 General » Re: Memory safe in D | |||
|---|---|---|---|
| |||
...talking about environments where the null page does not segfault, like in a kernel. -Steve | |||
March 11 General » Re: Memory safe in D | |||
|---|---|---|---|
| |||
...Hello, world!");
return 0;
}
```
Formally yes, but segfault looks not good for language which say... | |||
March 12 General » Re: Memory safe in D | |||
|---|---|---|---|
| |||
...to the this pointer, its going to segfault. Same principle with the vtable lookup. If... | |||
Copyright © 1999-2021 by the D Language Foundation