Displaying 4 results from an estimated 4 matches for "new_func".
Did you mean:
new_fence
2019 Nov 12
2
Using Libfuzzer on a library - linking the library to the fuzz target
...g-coverage>
that
the fuzz target is generating? It may give you an insight as to why your
desired function under test isn't being hit. - Yes, I am using lcov for
coverage and do see the relevant methods being exercised.
I am wondering if there is a reason I am not seeing the function in
the NEW_FUNC[x/xxx]: log lines.
To iterate my steps -
First I build the library with fuzzer-no-link,address flags. I *don't*
compile the fuzz_target (the file containing the LLVMFuzzerTestOneInput
function) with the library.
Then I build the fuzz target and link it with the library.
*clang++ -g -O1 -fsani...
2019 Nov 12
2
Using Libfuzzer on a library - linking the library to the fuzz target
...ough). Suppose the
function in the library being tested is called - *apifunc()*. The libfuzzer
log has a line which says - *apifunc() resp=0x7ff38f83ac20 uninitialized,
fixing it*. I am not sure what this means. Also, I can see that the apifunc
is called and it runs but it does not show up in the *NEW_FUNC[x/xxx]: *log
lines in the libfuzzer output.
To enable fuzzing. First I build the library with the following libfuzzer
flags.
*-fsanitize=fuzzer-no-link,address -fsanitize-coverage=edge,indirect-calls*
I also had to make a blacklist to avoid some buffer overflow and use after
free error during this...
2006 Aug 08
2
Extending rails with plugins
...ng some functionality up into a plugin, but I''m
having some problems including it.
The structure I have is:
/app/controllers/admin/base_controller.rb:
class Admin::BaseController > ApplicationController
#snip#
end
/vendor/plugins/myplugin/lib/my_module.rb:
module MyModule
def new_func
"New Function"
end
end
/vendor/plugins/myplugin/init.rb:
require ''my_module''
Admin::BaseController.send :include, MyModule
However, this gives me an ''uninitialized constant ApplicationController
(NameError)'' error when I start Rails
Can...
2016 Mar 23
0
Writing Module Pass to modify arguments of a function
...er of
arguments of a function found in the IR( the first function found).
My approach is using a modulepass ,creating a function with exactly one
argument then cloning the first found function using *CloneFunctionInto*;
then i replace uses of the old function using
*Old_func->replaceAllUsesWith(new_Func)*.
I have the end code figured however, I'm stuck at the beginning of the loop
:
*"for (Module::iterator F = M.begin(), e = M.end(); F != e; ++F) {*
* Function *Func=M.getAtIndex(F);"*
Now the problem is there is no such function as getAtIndex, so how do i
know the function i'...