nn::dbg::CTR::GetArgBinary Function

Syntax

#include <nn/dbg.h>
const void * GetArgBinary(
     void
);

Parameters

None.

Return Values

Pointer to the binary region stored in the startup argument buffer.

Description

Gets the argument buffer stored in binary.

Returns NULL if the startup argument buffer does not contain binary data or if there is no startup argument buffer.

  // Binary data display
  const void* pArea = nn::dbg::CTR::GetArgBinary();
  size_t size       = nn::dbg::CTR::GetArgBinarySize();

  NN_LOG("buffer 0x%x size 0x%x\n", pArea, size);

Always returns NULL in release builds.

Revision History

2011/12/14
Initial version.

CONFIDENTIAL