From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24424 invoked from network); 15 Aug 2020 21:51:53 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 15 Aug 2020 21:51:53 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 4D79F9B620; Sun, 16 Aug 2020 07:51:49 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 341BD9B5EC; Sun, 16 Aug 2020 07:51:04 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=majumdar-org-uk.20150623.gappssmtp.com header.i=@majumdar-org-uk.20150623.gappssmtp.com header.b="gXXTfRex"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id B7EAD9B5EC; Sun, 16 Aug 2020 07:51:00 +1000 (AEST) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by minnie.tuhs.org (Postfix) with ESMTPS id 3CFFE9B5D7 for ; Sun, 16 Aug 2020 07:50:59 +1000 (AEST) Received: by mail-lj1-f177.google.com with SMTP id w25so13461721ljo.12 for ; Sat, 15 Aug 2020 14:50:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=majumdar-org-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=mgeAK0ZV6YA1LC1qB9018LEan597Ycfz6oiu3xyOJgA=; b=gXXTfRex5TAHuTAUN7nnBglJGL7vV1PRsCIUU1igC/Z5SHU/CPk7ZDcbWcfZIGDGx9 lCIpK81bXLSRYYvyYQ4J1VLBocchI4pSv+Y0wHIdguHxDj0rYjZCndYfQ94UM+sfPwXU /zktZf7Bj5jFLcqBwCVbyNBFwDX0DP6ny18P4yhjHUqzBzwPhHHppxwqu5lE5fIMSd8y 2EAUTqE4I1c5GGPD7oglEVyyAVf02VvrDeX7o2RLqYPaXeM/BrQiBcyaO56JzJcosofQ fHL+acM2hnC5TDdVkzARhdeN6LQKmuIWDaSmmqvwM5Uc46OXh5a/w5bf8ZGVfmJXAIL0 a8Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=mgeAK0ZV6YA1LC1qB9018LEan597Ycfz6oiu3xyOJgA=; b=a18KMHm6CBG1gAI4kHuAAvnmYoFQWx4YRtwtVmMo6f+FBtn+eb7G5YxUucEB89/Dey bPCdyvk192nowqvTOWGVOvySVdPqjpROdG6qYTqflGDqOCOibpatnoKNm8ss/ei3l2kD 3gPmKEOc9++5ZmCPf6KUicXYkTZwUE+suncVVLQgSDnh+0cCyW6GQRoDi8WCfnWdSP9A lHR9K/5fCW2QCcLFWu8X2Fb6L3SGsvZoe7SzLBWAnRuSWSwZfzdPO7D8knx33JVGQWGx 3NCbxlSMiU9KIBAa12piBF2i0hw6rJnLEeLP5534yHziwnSw01MTe6vWQPJkdznXP80N rjJg== X-Gm-Message-State: AOAM5312aR+1LMVlvIbTUD+chUeZimGUVcpUZ2MUit9Pf0Aqki8zK0O+ MhRxGPNiURrbvRb9Xjnkdeqgb45gIQrTVjCVwG67KYwyO7I9AQ== X-Google-Smtp-Source: ABdhPJymVFkxW8rDHcwUKI8ELNR5OdwM/XSAweEMBjLn42r+4LEH7xczI5hycw7nMpbIOLnsnSJI8bsSYJvzL5qiPBg= X-Received: by 2002:a2e:9f11:: with SMTP id u17mr3050172ljk.130.1597528256768; Sat, 15 Aug 2020 14:50:56 -0700 (PDT) MIME-Version: 1.0 From: Dibyendu Majumdar Date: Sat, 15 Aug 2020 22:50:47 +0100 Message-ID: To: The TUHS Content-Type: text/plain; charset="UTF-8" Subject: [TUHS] Memory management in Dennis Ritchie's C Compiler X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" Hi, I have a project to revive the C compiler from V7/V10. I wanted to check if anyone here knows about the memory management in the compiler (c0 only for now). I am trying to migrate the memory management to malloc/free but I am struggling to understand exactly how memory is being managed. Thanks and Regards Dibyendu