Lines Matching +full:sram +full:- +full:section
2 # -*- coding: utf-8 -*-
5 # Copyright (c) 2020-2022 Huawei Device Co., Ltd.
10 # http://www.apache.org/licenses/LICENSE-2.0
45 def storage_static_data(offset, section, sizeHex, symbol, lib, obj): argument
48 static_map[g_row_num] = {'offsets' : "offsets", 'section' : "section",\
54 static_map[g_row_num] = {'offsets': offset, 'section' : section,\
66 c.value = values.get('section')
77 wb.save('static_symbol-%s.xlsx' % datetime.datetime.now().strftime('%Y-%m-%d %H_%M_%S'))
86 target_list.append('{:<30s}'.format(values.get('section')))
155 wb.save('dync_mem-%s.xlsx' % datetime.datetime.now().strftime('%Y-%m-%d %H_%M_%S'))
209 elif line.startswith(' .sram.text.'):
210 function_name = line.split(".sram.text.")[1]
243 lib_name = char_temp[0].split('/')[-1]
267 lib_name = char_temp[0].split('/')[-1]
280 #According to the regular expression of objdump , section start at 17 char
290 lib, obj = get_func_by_name(symbol_list[-1])
291 storage_static_data(offset, sec, size, symbol_list[-1], lib, obj)
302 storage_dync_head(len(char_list) - 2)
323 parser.add_argument('--m', help='map path.')
324 parser.add_argument('--l', help='dynamic mem log path.')
325 parser.add_argument('--d', help='objdump path.')
330 print("arg error, input -h get the help list\r\n")
341 … print("you can enter the objdump -t command under the linux shell to obtain dump information\r\n")