(section, p)
specialized handler for the DATA section to mark the offset initializer as code.
specialized handler for the DATA section to mark the offset initializer as code.
specialized handler for the DATA section to mark the offset initializer as code .
def load_data_section(section, p):
    '''
    specialized handler for the DATA section to mark the offset initializer as code.
    '''
    ppayload = p + idawasm.common.offset_of(section.data, 'payload')
    pentries = ppayload + idawasm.common.offset_of(section.data.payload, 'entries')
    pcur = pentries
    for i, body in enumerate(section.data.payload.entries):
        idc.MakeCode(pcur + idawasm.common.offset_of(body, 'offset'))
        pcur += idawasm.common.size_of(body)
def load_data_section ( section , p ) : ppayload = p + idawasm . common . offset_of ( section . data , 'payload' ) pentries = ppayload + idawasm . common . offset_of ( section . data . payload , 'entries' ) pcur = pentries for i , body in enumerate ( section . data . payload . entries ) : idc . MakeCode ( pcur + idawasm . common . offset_of ( body , 'offset' ) ) pcur += idawasm . common . size_of ( body )