Skip to content

Commit

Permalink
Add docs and version bump to 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbudmsft committed Aug 13, 2016
1 parent b6c265a commit 679d5e5
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 3 deletions.
10 changes: 10 additions & 0 deletions docs/Lua/dbgscript.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,17 @@ dbgscript Module
Obtain the size of `type` in bytes. Behaves like ``sizeof`` operator in C.

.. versionadded:: 1.0.4

.. method:: dbgscript.searchMemory(start, size, pattern, pattern_granularity) -> integer

Search the address space from [start, start + size) for ``pattern``. Only
matches at ``pattern_granularity`` are considered. Returns location of match,
or throws an error if not found.

The length of ``pattern`` must be a multiple of ``pattern_granularity``.

.. versionadded:: 1.0.6

.. method:: dbgscript.startBuffering()

.. include:: ../shared/start_buffering.txt
Expand Down
10 changes: 10 additions & 0 deletions docs/Python/dbgscript.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,17 @@ namespace.
Obtain the size of `type` in bytes. Behaves like ``sizeof`` operator in C.

.. versionadded:: 1.0.4

.. method:: search_memory(start, size, pattern, pattern_granularity) -> int

Search the address space from [start, start + size) for ``pattern``. Only
matches at ``pattern_granularity`` are considered. Returns location of match,
or throws LookupError if not found.

The length of ``pattern`` must be a multiple of ``pattern_granularity``.

.. versionadded:: 1.0.6

.. method:: start_buffering()

.. include:: ../shared/start_buffering.txt
Expand Down
10 changes: 10 additions & 0 deletions docs/Ruby/DbgScript.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,16 @@ DbgScript Module

.. versionadded:: 1.0.4

.. method:: DbgScript.search_memory(start, size, pattern, pattern_granularity) -> Integer

Search the address space from [start, start + size) for ``pattern``. Only
matches at ``pattern_granularity`` are considered. Returns location of match,
or throws ``KeyError`` if not found.

The length of ``pattern`` must be a multiple of ``pattern_granularity``.

.. versionadded:: 1.0.6

.. method:: DbgScript.start_buffering()

.. include:: ../shared/start_buffering.txt
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
# built documents.
#
# The short X.Y version.
version = '1.0.5'
version = '1.0.6'
# The full version, including alpha/beta/rc tags.
release = '1.0.5'
release = '1.0.6'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
6 changes: 6 additions & 0 deletions releasenotes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
1.0.6 (beta)
------------

* Add `dbgscript.search_memory` API. Searches memory for a pattern and returns
location on success.

1.0.5 (beta)
------------

Expand Down
2 changes: 1 addition & 1 deletion src/vercommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#define DBG_SCRIPT_VER_MAJ 1
#define DBG_SCRIPT_VER_MIN 0
#define DBG_SCRIPT_VER_BETA 5
#define DBG_SCRIPT_VER_BETA 6

#define STR2(x) #x
#define STR(x) STR2(x)
Expand Down

0 comments on commit 679d5e5

Please sign in to comment.