I am reversing a binary using Ghidra. In the disassembled output, I have the following lines in the main function:
(code *)mmap((void *)0x0,0x55,7,0x22,-1,0)
I am quite confused here since the file descriptor appears to be -1 and I remember reading that file descriptors should be non-negative.
Can someone please tell me what I am missing here?