OP here. About half are off the shelf. Joint functions, the breakpoint infinite loop, in-house memmove, the overflowing thing, those I haven’t read about anywhere before.
This is a fairly standard debugging technique.
> in-house memmove
You sure they didn't just statically link a libc?
Have seen multiple times in CTFs