Commit Graph

313 Commits

Author SHA1 Message Date
Antony Polukhin
c6eabe4b8b Unify string_red usage 2014-09-12 12:26:36 +04:00
Antony Polukhin
8ee3c9f3d3 Fix compilation with Boost 1.53 2014-09-11 12:37:44 +04:00
Antony Polukhin
fee3d63021 Fix warnings and tests 2014-09-09 18:14:18 +04:00
Antony Polukhin
8e0c778893 Fix warnings and tests 2014-09-09 18:12:27 +04:00
Antony Polukhin
6aa3ceb467 library_info is now capable of opening foreign/non-native binary file formats 2014-09-09 18:05:03 +04:00
Anton Polukhin
298f55ef57 Warnings and minor issues fixed, overparanoid tests added 2014-09-09 15:57:03 +04:00
Antony Polukhin
161c72857b More tests and more portable structures definition 2014-09-09 13:00:17 +04:00
Anton Polukhin
a31efb7a8a Do not include windows.h and improve code readability 2014-09-08 16:56:35 +04:00
Antony Polukhin
66469e7b13 elf_info now works on any OS, docs improved 2014-09-05 15:08:40 +04:00
Antony Polukhin
74786f35e4 Added documentation to the library_info class and made a few internal changes 2014-09-05 13:13:06 +04:00
Antony Polukhin
fd13f785c6 Add library querying example and improve section naming macro 2014-09-04 19:33:23 +04:00
Antony Polukhin
c009725d76 alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias l='ls -CF'
alias la='ls -A'
alias ll='ls -alF'
alias ls='ls --color=auto' free function was refactored into the  method
2014-09-04 14:31:37 +04:00
Antony Polukhin
20ba9894d0 Better names for free functions 2014-09-04 14:15:27 +04:00
Anton Polukhin
96ebc87bd1 Windows wersion of library_info now functional 2014-09-04 13:06:07 +04:00
Anton Polukhin
e8f253d985 Started Windows version of library_info 2014-09-03 20:52:44 +04:00
retf
47822d4a85 Revert "ifstream first try"
This reverts commit 6299f391a8.
2014-09-02 15:26:03 -03:00
retf
6299f391a8 ifstream first try
in dev
2014-09-02 15:25:38 -03:00
Antony Polukhin
c5dac07188 restrictions on section names and minor fixes 2014-09-02 11:47:29 +04:00
Antony Polukhin
fca28f5920 Renaming to Boost.DLL 3 2014-08-29 18:28:58 +04:00
Antony Polukhin
f0a6a438b4 Started the renaming to Boost.DLL 2 2014-08-29 18:19:35 +04:00
Antony Polukhin
94ecf69ded Started the renaming to Boost.DLL 2014-08-29 18:01:24 +04:00
Antony Polukhin
baa6699443 Minor improvements and more tests for symbol querying 2014-08-26 13:29:13 +04:00
Anton Polukhin
9f46fa9808 Fix windows related issues 2014-08-25 19:55:00 +04:00
Antony Polukhin
a132cd5434 More mature solution for #4 2014-08-25 19:41:47 +04:00
Anton Polukhin
e598af1f18 Attempt to fix ompilation error noted in #4 2014-08-25 13:06:12 +04:00
retf
fc5d05c899 Add some references 2014-08-21 10:37:17 -03:00
retf
17afa63810 New method test 'depend_of'
an test method to get dependents modules,
who my plugin imports (1st level only)

e.g. for myself I get:
KERNEL32.dll
MSVCP110D.dll
boost_system-vc-mt-gd-1_56.dll
MSVCR110D.dll
2014-08-21 09:43:40 -03:00
retf
d3a719c576 sections method impl
first impl of sections method.
2014-08-21 09:19:24 -03:00
retf
11ed448554 First try to library_info on windows
symbols impl
2014-08-20 16:42:16 -03:00
Antony Polukhin
588622b1d9 Make it possible to list symbols by section and make library_info tests more strict 2014-08-20 19:19:33 +04:00
Antony Polukhin
fc8540c6c0 Initial version of library_info class for POSIX (Elf files) 2014-08-20 17:05:48 +04:00
Anton Polukhin
c173590290 Fix a few typos 2014-08-19 18:17:52 +04:00
Antony Polukhin
841f798561 More tests for path() and minor updates 2014-08-19 18:06:52 +04:00
retf
d0c52b0e67 Add full_module_path so shared_library
Returns full path of shared module.

The ability to extract the full file system path of a loaded shared
library can be useful in case that use provide only library name on
load,  and on some time need to get full path of it.
2014-08-18 14:51:44 -03:00
Antony Polukhin
52a95808df const aliases fixed and docs improved 2014-08-15 15:13:36 +04:00
Antony Polukhin
6203013d1d experimenting with symbol shadowing 2014-08-15 12:26:39 +04:00
Antony Polukhin
e7570254d6 Docs updated 2014-08-14 10:45:20 +04:00
Antony Polukhin
0b0ce53d08 Added tests on equality/inequality of shared_libraries 2014-08-14 10:15:19 +04:00
Antony Polukhin
e1a8ffd71c Simplified plugin linking in 2014-08-14 10:07:09 +04:00
Antony Polukhin
9493f68445 Updated examples and tutorial 2014-08-14 09:55:52 +04:00
Antony Polukhin
3f2e34797b Cleanup the headers 2014-08-13 19:13:20 +04:00
Antony Polukhin
f5ababf907 More tests and minor fixes 2014-08-13 16:56:57 +04:00
Anton Polukhin
860a4a7b71 Fix a memory leak 2014-08-13 16:33:35 +04:00
Anton Polukhin
2b199f384b Windows related fixes 2014-08-13 13:20:19 +04:00
retf
8d63dac4fc fix ns on GetModuleFileName 2014-08-12 14:23:33 -03:00
Antony Polukhin
0b92beda57 minor fixes, tests update 2014-08-12 20:19:43 +04:00
retf
b0650e6fae Initial implementation of load_self
Todo: load_self on windows impl, need be checked (TCHAR and MAX_PATH
types)
2014-08-12 10:23:55 -03:00
retf
d8a79fd258 shared_library move support
Make shared_library move constructible and move assignable using
Boost.Move
2014-08-11 17:24:17 -03:00
Antony Polukhin
fce09e18bc Description for refcountable functions 2014-08-11 12:51:10 +04:00
Antony Polukhin
3d6477fef2 load_modes improved for POSIX, more tests, started work on docs for refcountable functions 2014-08-10 23:03:40 +04:00
Antony Polukhin
d999e9bb43 Make default open mode for Linux more strict 2014-08-09 23:21:11 +04:00
Antony Polukhin
babcdb2b30 Attempt to unify load modes 2014-08-09 23:17:40 +04:00
Antony Polukhin
e44f515e3d More updates for docs 2014-08-09 20:05:46 +04:00
Antony Polukhin
225d12b171 Removed path_ from shared_library, updated the reference section, added missing BOOST_NOEXCEPT 2014-08-08 17:41:13 +04:00
Antony Polukhin
c178605507 More tests and refcountable functions 2014-08-07 16:47:27 +04:00
Antony Polukhin
eb76b43a82 Started the refcountable functions implementation 2014-08-07 11:59:24 +04:00
Antony Polukhin
9358675321 Scetch of documentation and aliases added 2014-08-06 18:01:53 +04:00
Anton Polukhin
6d09ab4e73 Windows related fixes 2014-08-06 13:31:35 +04:00
Antony Polukhin
7edaf8f86c Use Winapi in a way that is now preferable in Boost 2014-08-06 13:19:27 +04:00
Antony Polukhin
46ab8170b1 Fixes for error handling 2014-08-06 12:43:39 +04:00
Antony Polukhin
f09f464ea5 more tests and minor fixes 2014-08-06 12:01:45 +04:00
Antony Polukhin
d004a15007 Fix compilation and error reporting on Linux platform 2014-08-05 19:16:09 +04:00
Antony Polukhin
3e2502e13e Initial commit 2014-08-05 17:37:33 +04:00