BE memory extension to access NetWare memory

What it does

This is a tool which provides visibility of NetWare memory to the public domain tool Andys Binary Folding Editor.

The data presented can be edited, although this feature should be used with care.

Under NetWare 4, all NLMs, drivers and NetWare itself appear to share the same flat 32 bit address space. So this allows one NLM to access the memory of another assuming it knows where to look.

Usage

Here I'll describe how to view/edit the data in an NLM. You can access multiple NLMs and drivers etc. with equal ease.

I assume you have written a BE initialisation file (test.ini) which describes the structures and variables within the NLM.

Ensure the NLM is compiled producing a .map file.

Load the NLM :-

  load test.nlm

Determine where in memory the NLM exists. This is done by hot-keying into the NetWare debugger, via the Shift+Shift+Alt+Esc sequence, and then typing :-

  .m test

Note the code and data base addresses. Lets call these CCCCCCCC and DDDDDDDD. Then exit the debugger and thus resume NetWare via the g command.

If the NLM was linked with the Watcom linker, invoke BE via :-

  load be -i test.ini -Y nw_wc_code -y test.map@0xCCCCCCCC -Y nw_wc_data -y test.map@0xDDDDDDDD nwmem!

If the NLM was linked with the NetWare linker, invoke BE via :-

  load be -i test.ini -Y nw_nw_code -y test.map@0xCCCCCCCC -Y nw_nw_data -y test.map@0xDDDDDDDD nwmem!

This documentation is written and maintained by the BENWMEM author, Andy Key
ak@nyangau.fsnet.co.uk