Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

rurban (7989)

rurban
  reversethis-{ta.yar-x} {ta} {nabrur}
http://rurban.xarch.at/

cygwin maintainer for perl, parrot, clisp, postgresql, ... and some perl modules (perl-libwin32, perl-Win32-GUI). Has also some hairy CPAN packages: B::C, B::Generate, C::DynaLib, B::Debugger ...

Journal of rurban (7989)

Saturday April 12, 2008
06:21 AM

B-C-1.04_15

[ #36135 ]

After busy weeks moving house and attending the local film-festival, work started again.

I've added machinery to support Bytecode portability and maybe across versions also. This will need some opcode version table for older versions.

Thanks to cpantest I've found and fixed some non-threaded bugs.

The main feature with this version is the commented disassembler output.

The main problem was that in the ByteLoader xpv_len is not the length of xpv_pv string. xpv_len also counts the ending \0 byte, but xpv_cur is the correct strlen.
So "\\d\000" has length 3, but a strlen of 2.
This caused problems on an early 5.10 pregcomp() minlen check, so all regexp tests failed.

I've also added a maxstring argument to asciiz strconst strings, which are no pascal-like strings, to avoid buffer-overflow attacks with handcrafted .pmc files.

Next I'll attack the pad panics and
SIGSEGV in Perl_fbm_instr() = Perl_re_intuit_start() = Perl_pp_subst()
Getting the correct re in the PMOP to be accepted by pp_match() is a nightmare.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.