objdiff icon indicating copy to clipboard operation
objdiff copied to clipboard

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

Open tomsons26 opened this issue 5 months ago • 0 comments

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

tomsons26 avatar Sep 01 '25 18:09 tomsons26