
# Copyright (C) 1997 Farrell McKay
# All rights reserved.
#
# This file is part of the Fortify distribution, a toolkit for
# upgrading the cryptographic strength of the Netscape Navigator
# web browser, authored by Farrell McKay.
#
# This toolkit is provided to the recipient under the
# following terms and conditions:-
#   1.  This copyright notice must not be removed or modified.
#   2.  This toolkit may not be reproduced or included in any commercial
#       media distribution, or commercial publication (for example CD-ROM,
#       disk, book, magazine, journal) without first obtaining the author's
#       permission.
#   3.  Subject to the above conditions being observed (1,2), this toolkit
#       may be freely reproduced or redistributed.
#   4.  This software is provided "as-is", without express or implied
#       warranty.  In no event shall the author be liable for any direct,
#       indirect or consequential damages however caused.
#   5.  Subject to the above conditions being observed (1-4),
#       this toolkit may be used at no cost to the recipient.
#
# Farrell McKay			Farrell.McKay@mpx.com.au

init {
	grammar		1.1
	target		"navigator-v403-export.x86-unknown-linux2.0"
	text_offset	0x8048000
	data_offset	0x8049000
	rodata_offset	0x8048000
}
_main {
	segment		text
	msg		"main"
	base		0x8051e30
	offset		0x0
	context		0x59			# popl   %ecx
			0x89 0xe3		# movl   %esp,%ebx
			0x89 0xe0		# movl   %esp,%eax
			0x89 0xca		# movl   %ecx,%edx
			0x01 0xd2		# addl   %edx,%edx
			0x01 0xd2		# addl   %edx,%edx
			0x01 0xd0		# addl   %edx,%eax
			0x83 0xc0		# addl   $0x4,%eax
}
q2 {
	segment		text
	base		0x82684c0		
	offset		0x66			
	old_value       0xc7 0x46 0x10		# movl $0x2,0x10(%esi)
			0x02 0x00 0x00 0x00
	new_value       0xc7 0x46 0x10		# movl $0x1,0x10(%esi)
			0x01 0x00 0x00 0x00
}
q0 {
	segment		text
	base		0x82684c0		
	offset		0x70			
	old_value       0xc7 0x46 0x10		# movl $0x0,0x10(%esi)
			0x00 0x00 0x00 0x00
	new_value       0x90 0x90 0x90		# nop x 7
			0x90 0x90 0x90 0x90
}
version_str {
	segment		rodata
	base		0x83ba452
	offset		0x13
	old_value	"Export,"
	new_value	"Fortify"
}
s00 {
	segment		data
	base		0x0859e2b4
	offset		0x1a0
	old_value	0x00 0x00 0x00 0x00
	new_value	0x01 0x00 0x00 0x00
}
s01 {
	segment		data
	base		0x0859e2b4
	offset		0x1c8
	old_value	0x00 0x00 0x00 0x00
	new_value	0x01 0x00 0x00 0x00
}
s02 {
	segment		data
	base		0x0859e2b4
	offset		0x1f0
	old_value	0x00 0x00 0x00 0x00
	new_value	0x01 0x00 0x00 0x00
}
s03 {
	segment		data
	base		0x0859e2b4
	offset		0x290
	old_value	0x00 0x00 0x00 0x00
	new_value	0x01 0x00 0x00 0x00
}
s04 {
	segment		data
	base		0x0859e2b4
	offset		0x2b8
	old_value	0x00 0x00 0x00 0x00
	new_value	0x01 0x00 0x00 0x00
}
