Skip to content

x86: calls to functions not globally defined show as <invalid> #249

@tomsons26

Description

@tomsons26

I have assembly code that calls functions that are private to that file, in objdiff these calls show as invalid, label does exist for them in the obj however
Image

reproducible with masm using this asm

.686P
.model	flat, C

	.code

Local_Function proc near \
	\
	, source_ptr:dword \
	, dest_ptr:dword \
	, source_width:dword

	pushad

Local_Function endp

public Global_Function
Global_Function PROC near \
	\
	\
	, src_ptr:dword \
	, dest_ptr:dword \
	, source_lines:dword \
	, source_width:dword \
	, dest_width:dword \

	LOCAL	old_dest:dword
	LOCAL	pixel_count:dword
	LOCAL	next_line:dword
	LOCAL	last_line:dword

??label:
	invoke	Local_Function,[src_ptr],[next_line],[source_width]
	
Global_Function endp

end

assembled file:

objdifflblissue.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions