(self, region: str)
return base_addr
Get the base address of a memory region.

        :param region:  ID of the memory region
        :return:        Address of the memory region
Get the base address of a memory region.
Get the base address of a memory region .
def _region_base(self, region: str) -> int:
        """
        Get the base address of a memory region.

        :param region:  ID of the memory region
        :return:        Address of the memory region
        """

        if region == 'global':
            base_addr = 0
        elif region.startswith('stack_'):
            base_addr = self._stack_region_map.absolutize(region, 0)
        else:
            base_addr = self._generic_region_map.absolutize(region, 0)

        return base_addr
def _region_base ( self , region : str ) -> int : if region == 'global' : base_addr = 0 elif region . startswith ( 'stack_' ) : base_addr = self . _stack_region_map . absolutize ( region , 0 ) else : base_addr = self . _generic_region_map . absolutize ( region , 0 ) return base_addr