News for hackers. Stuff that matters.
Re:Remotely Compromising Android and iOS via a bug in Broadc... by CobrastanJorji on Wednesday July 26, 2017 @07:19PM (#14861257)
I assume they mean that C's support for "arrays" is essentially just C's support for pointer arithmetic plus a mapping of a[b] to *(a+b).
Re:Remotely Compromising Android and iOS via a bug in Broadc... by Kubuxu on Wednesday July 26, 2017 @07:32PM (#14861354)
You can even swap it a[b] equivalent to b[a].
Re:Remotely Compromising Android and iOS via a bug in Broadc... by shitgoose on Wednesday July 26, 2017 @09:49PM (#14862014)
shouldn't it be:

* (a + b * sizeof(T))

where T is array elements' type?

Re:Remotely Compromising Android and iOS via a bug in Broadc... by astrange on Wednesday July 26, 2017 @11:02PM (#14862368)
That's implied in + on a pointer. uint32_t* + 1 actually adds 4.