Let's say that a set $X\subseteq [0,1]$ has Property Q if the following holds: For every continuous $f:[0,1]\to\mathbb{R}$ with $f(0)=0$ and derivative existing and bounded by 1 on $[0,1]\setminus X$, we have $f(1)\le 1$.
All countable sets have Property Q since then $f'(x)$ is integrable and $\int_0^x f'(u)\,du=f(x)$ using the Henstock–Kurzweil (gauge) integral. However a constant multiple of the Cantor function shows that not all sets of measure 0 have Property Q.
Is there a characterisation of sets of Property Q?