Author Topic: Linux Symbols - Compiler inside the nwserver executable?  (Read 3316 times)

Baaleos

  • Administrator
  • Hero Member
  • *****
  • Posts: 1916
  • Karma: +0/-0
Linux Symbols - Compiler inside the nwserver executable?
« on: March 31, 2016, 10:20:49 am »


               

08243724 T CScriptCompiler::~CScriptCompiler(void)

08243a24 T CScriptCompiler::ShutDown(void)

08243c90 T CScriptCompiler::Initialize(void)

08245640 T CScriptCompiler::GetHashEntryByName(char const *)

082457b8 T CScriptCompiler::HashManagerAdd(unsigned long, unsigned long)

08245980 T CScriptCompiler::HashManagerDelete(unsigned long, unsigned long)

08245b64 T CScriptCompiler::SetIdentifierSpecification(CExoString const &)

08245d78 T CScriptCompiler::CleanUpAfterCompiles(void)

08245e8c T CScriptCompiler::CompileFile(CExoString const &)

08246248 T CScriptCompiler::CompileScriptChunk(CExoString const &)

0824632c T CScriptCompiler::CompileScriptConditional(CExoString const &)

08246410 T CScriptCompiler::OutputError(int, CExoString *, int, CExoString const &)

0824665c T CScriptCompiler::Test_CompileAllScriptsInDirectory(CExoString &, CExoString &, CExoString &)

08246e3c T CScriptCompiler::Test_CompareDirectoryContents(CExoString &, CExoString &)

08247610 T CScriptCompiler::Test_CompareFileInclusion(CExoString &, CExoString &, CExoStringList *, unsigned short)

08247b24 T CScriptSourceFile::CScriptSourceFile(void)

08247b44 T CScriptSourceFile::LoadScript(CExoString const &, char **, unsigned long *)

08247bac T CScriptSourceFile::UnloadScript(void)

08247be8 T CScriptCompiler::HashString(char const *)

08247c44 T CScriptCompiler::HashString(CExoString const &)

08247cb0 T CScriptCompiler::InitializePreDefinedStructures(void)

08247d78 T CScriptCompiler::InitializeIncludeFile(int)

08247de8 T CScriptCompiler::ShutdownIncludeFile(int)

08247e38 T CScriptCompiler::DeleteParseTree(int, CScriptParseTreeNode *)

08247ec8 T CScriptCompiler::SetCompileDebugLevel(int)

08247edc T CScriptCompiler::SetGenerateDebuggerOutput(int)

08247ef0 T CScriptCompiler::SetCompileSymbolicOutput(int)

08247f04 T CScriptCompiler::SetOutputAlias(CExoString const &)

08247f1c T CScriptCompiler::SetOptimizeBinaryCodeLength(int)

08247f30 T CScriptCompiler::SetCompileConditionalFile(int)

08247f44 T CScriptCompiler::SetCompileConditionalOrMain(int)

08247f58 T CScriptCompiler::SetAutomaticCleanUpAfterCompiles(int)

08247f6c T CScriptCompiler::GetCompiledScriptCode(char **, int *)

08247f90 T CScriptCompiler::ClearCompiledScriptCode(void)


 

I am only now getting familiar with the linux symbols, but I found the CScriptCompiler region interesting, it suggests that the nwserver linux executable may have compiler capabilities?

If this is the case, a nwnx plugin might be able to perform compile actions of nss files by triggering the compiler inside the process.

Just a theory at this stage.

Has anyone tried hooking/calling these offsets?

               
               

               
            

Legacy___greye

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Linux Symbols - Compiler inside the nwserver executable?
« Reply #1 on: May 05, 2016, 12:04:39 pm »


               


 


 

I am only now getting familiar with the linux symbols, but I found the CScriptCompiler region interesting, it suggests that the nwserver linux executable may have compiler capabilities?

If this is the case, a nwnx plugin might be able to perform compile actions of nss files by triggering the compiler inside the process.

Just a theory at this stage.

Has anyone tried hooking/calling these offsets?

 




It is perfectly possible, just not too reasonable. It is the stock compiler with all the limitations and we have open-source NSS libraries to do the job.