Git Product home page Git Product logo

pemu's People

Contributors

utds3lab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pemu's Issues

Error in installing Pemu on debian jessie

Hi,
I am trying to install pemu for kernel instrumentaion of my VMs. I followed your instruction to install pemu. When I want to make in the pemu/build folder, I come up with the following error:

CC hw/block/xen_disk.o
In file included from /home/guest/Documents/tools/pemu-master/include/hw/xen/xen_backend.h:7:0,
from /home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:39:
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h:109:9: error: unknown type name ‘xc_evtchn’
typedef xc_evtchn *XenEvtchn;
^
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h:110:9: error: unknown type name ‘xc_gnttab’
typedef xc_gnttab *XenGnttab;
^
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h: In function ‘xen_xc_evtchn_open’:
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h:118:5: warning: implicit declaration of function ‘xc_evtchn_open’ [-Wimplicit-function-declaration]
return xc_evtchn_open(logger, open_flags);
^
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h:118:5: warning: nested extern declaration of ‘xc_evtchn_open’ [-Wnested-externs]
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h:118:5: warning: return makes pointer from integer without a cast
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h: In function ‘xen_xc_gnttab_open’:
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h:124:5: warning: implicit declaration of function ‘xc_gnttab_open’ [-Wimplicit-function-declaration]
return xc_gnttab_open(logger, open_flags);
^
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h:124:5: warning: nested extern declaration of ‘xc_gnttab_open’ [-Wnested-externs]
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h:124:5: warning: return makes pointer from integer without a cast
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c: In function ‘destroy_grant’:
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:166:5: warning: implicit declaration of function ‘xc_gnttab_munmap’ [-Wimplicit-function-declaration]
if (xc_gnttab_munmap(gnt, grant->page, 1) != 0) {
^
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:166:5: warning: nested extern declaration of ‘xc_gnttab_munmap’ [-Wnested-externs]
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c: In function ‘ioreq_map’:
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:386:13: warning: implicit declaration of function ‘xc_gnttab_map_grant_refs’ [-Wimplicit-function-declaration]
(gnt, new_maps, domids, refs, ioreq->prot);
^
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:386:13: warning: nested extern declaration of ‘xc_gnttab_map_grant_refs’ [-Wnested-externs]
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:385:22: warning: assignment makes pointer from integer without a cast
ioreq->pages = xc_gnttab_map_grant_refs
^
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:402:17: warning: implicit declaration of function ‘xc_gnttab_map_grant_ref’ [-Wimplicit-function-declaration]
(gnt, domids[i], refs[i], ioreq->prot);
^
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:402:17: warning: nested extern declaration of ‘xc_gnttab_map_grant_ref’ [-Wnested-externs]
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:401:28: warning: assignment makes pointer from integer without a cast
ioreq->page[i] = xc_gnttab_map_grant_ref
^
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c: In function ‘blk_alloc’:
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:693:5: warning: implicit declaration of function ‘xc_gnttab_set_max_grants’ [-Wimplicit-function-declaration]
if (xc_gnttab_set_max_grants(xendev->gnttabdev,
^
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:693:5: warning: nested extern declaration of ‘xc_gnttab_set_max_grants’ [-Wnested-externs]
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c: In function ‘blk_connect’:
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:854:19: warning: assignment makes pointer from integer without a cast
blkdev->sring = xc_gnttab_map_grant_ref(blkdev->xendev.gnttabdev,
^
/home/guest/Documents/tools/pemu-master/rules.mak:28: recipe for target 'hw/block/xen_disk.o' failed
make: *** [hw/block/xen_disk.o] Error 1

Installation issues

Could you please clarify the first step in installation.

(1.1) Compile and run task-info/task-info.c in the guest OS (1.2) Copy the output to the ./target-i386/PEMU/linux.c { 0xC1731F60, /* task struct root / 432, / offset of task_struct list / 460, / offset of mm / 40, / offset of pgd in mm / 732, / offset of comm */ }; Note: the new process detection approach listed in the paper is not that stable. Instead, we use some process information to help new process detection.

How to compile task-info/task-info.c and which executable to execute ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.