
# 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.sparc-sun-sunos4.1.3_U1-NIS"
	text_offset	0x2000
	data_offset	0x2000
	rodata_offset	0x2000
}
_main {
	segment		text
	msg		"main"
	base		0x51c94
	offset		0x0
	context		0x9d 0xe3 0xb0 0x00	# save  %sp, -4096, %sp
			0x9c 0x03 0xb5 0x98	# add  %sp, -2664, %sp
			0x40 0x15 0xf0 0xa4	# call  0x5cdf2c <__main>
			0xf0 0x27 0xa0 0x44	# st  %i0, [ %fp + 0x44 ]
}
version_str {
	segment         rodata
	base            0x69dcc
	offset          0x13
	old_value       "Export/NIS,"
	new_value       "Fortify/NIS"
}
q0 {
	segment		text
	base		0x39d228
	offset		0x9c
	old_value       0xc0 0x26 0x20 0x10     # clr [%i0 + 0x10]
	new_value       0x01 0x00 0x00 0x00     # nop
}
q2 {
	segment		text
	base		0x39d228
	offset		0xa0
	old_value       0x90 0x10 0x20 0x02     # mov  2, %o0
	new_value       0x90 0x10 0x20 0x01     # mov  1, %o0
}
s00 {
	segment		data
	base		0x76d030
	offset		0x1a0
	old_value	0x00 0x00 0x00 0x00
	new_value	0x00 0x00 0x00 0x01
}
s01 {
	segment		data
	base		0x76d030
	offset		0x1c8
	old_value	0x00 0x00 0x00 0x00
	new_value	0x00 0x00 0x00 0x01
}
s02 {
	segment		data
	base		0x76d030
	offset		0x1f0
	old_value	0x00 0x00 0x00 0x00
	new_value	0x00 0x00 0x00 0x01
}
s03 {
	segment		data
	base		0x76d030
	offset		0x290
	old_value	0x00 0x00 0x00 0x00
	new_value	0x00 0x00 0x00 0x01
}
s04 {
	segment		data
	base		0x76d030
	offset		0x2b8
	old_value	0x00 0x00 0x00 0x00
	new_value	0x00 0x00 0x00 0x01
}
